HARRISBURG, Pa. (WHTM) — A Harrisburg School District safety monitor was placed on leave after officials say he accidentally brought a firearm to campus.

According to Superintendent Eric Turman, the safety monitor was legally able to have the gun, but the school safety monitor staff are not allowed to carry weapons on campus.

Turman says the safety monitor admitted to accidentally having the gun in his bag and said he didn’t plan to do any harm.

The safety monitor is now on administrative leave and will not be allowed back on campus pending the outcome of the investigation.