Tym told authorities that he was playing with his Glock 17 handgun when it fired accidentally. The bullet went straight through his wall into the next apartment, where it just missed his neighbor.
Tym was charged with negligent discharge of a firearm and possession of high capacity magazines. Police found seven firearms inside his apartment, as well as 1,000 rounds of ammunition.
The Isla Vista community is still on edge after Friday night's shooting and stabbing rampage, when Elliot Rodger, a 22-year-old student, killed himself and six others.
Notable deaths of 2014 [PHOTOS]