Students gather for a memorial to honor victims of the shootings and stabbings in Isla Vista, California at UCLA in Los Angeles on May 26, 2014. UPI/Jim Ruymen | License Photo

SANTA BARBARA, Calif., May 28 (UPI) -- Santa Barbara police arrested 21-year-old UCSB student Kevin Tym on Tuesday, after he allegedly fired his gun inside his Isla Vista apartment.

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.