An elementary school teacher was arrested after her third-grade students found an unloaded handgun and ammunition in a classroom supply cabinet, officials said Thursday.

Teacher Jayne DeArmond was arrested Wednesday for investigation of possession of a firearm on a school campus and misdemeanor child endangerment after students at Diamond Elementary School found the weapon, said Angela Burrell, a spokeswoman for the Santa Ana Unified School District.

Students had access to the cabinet, where the gun and ammunition were kept in a drawer, Burrell said.

DeArmond was released on $20,000 bail late Wednesday and no longer works at the school, Burrell said. It wasn't immediately clear if DeArmond had retained an attorney.

Santa Ana police referred calls to the school district.