Elijah Williams, 19, who’s charged with manslaughter in a weekend shooting that left a Temple teenager dead, told investigators he was playing with a handgun when it accidentally discharged.

Williams was arrested Sunday in connection with the shooting death of Mikhail Jawan Ellis, 18.

He remained in the Bell County Jail Thursday in lieu of $500,000 bond.

Williams told investigators he was in the kitchen of a home in the 1500 block of East Calhoun Avenue Sunday afternoon playing with the gun when the weapon discharged, according to an arrest warrant affidavit.

He said “he was pulling the trigger of the handgun and pulling the slide back and forth on the gun when the gun discharged," the affidavit says.

The shot struck Ellis in the abdomen.

Officers recovered a spent casing and an unspent casing from the kitchen.

The shooting was reported just after 1:30 p.m. Sunday.

Ellis died at Scott & White Medical Center in Temple.