Updated

A Houston teenager accused of shooting a classmate in the leg at school says he was defending himself from a group of boys who have been bullying him.

Warren Lewis remained jailed Wednesday after he was arrested for the shooting a day earlier. The student who was shot is expected to recover.

The North Forest Independent School District says it's still investigating how Lewis got the handgun into the campus and past metal detectors.

During a court appearance Wednesday, the 18-year-old Lewis told a judge that he had filed complaints with the school about the boys who had been threatening him.

The school district, however, says it hasn't found any record of complaints by Lewis or his family.