A Board of Education security officer unintentionally discharged a firearm while conducting a search of a building at an elementary school, authorities said.

Long Beach police responded around midnight Sunday to the 2400 block of Chestnut Avenue to assist Board of Education security officers, said Shaunna Dandoy, police spokeswoman. That block is home to Lafayette Elementary School.

Security officers were conducting a building search because of an alarm activation when one officer accidentally discharged his or her weapon, Dandoy said.

No one was injured.

Additional information about the incident was not immediately available.