A Baltimore County police officer working as a school resource officer at Eastern Technical High School in Essex, MD, fatally shot himself Monday, according to Baltimore County Police.

The department identified the officer as J. Comegna, a 21-year veteran, who was taken to MedStar Franklin Square Medical Center, where he was pronounced dead, said Officer Jennifer Peach, a police department spokeswoman.

Police said the incident occurred at noon, and students and staff were sheltered in place. Students were later dismissed at the normal dismissal time at 2:20 p.m.

No students or other staff were injured, reports the Baltimore Sun.