A man who was picking up a student walked into Byrns Darden Elementary School packing a handgun, two spare magazines and a knife on Monday.

School Resource Officers with the Montgomery County Sheriff’s Office stopped the man and arrested him for possessing a firearm inside an elementary school, according to a news release.

At 3:18 p.m., the 53-year-old man entered the school to pick up a student, according to Sandra Brandon, MCSO spokeswoman. Front office staff noticed what looked to be the outline of a firearm under his clothing and notified the School Resource Officer.

While waiting for the SRO, faculty, staff and administrators monitored the man from the office and remotely via cameras, according to Anthony Jordan, CMCSS spokesman.

The schools weren't put on lockdown, but student dismissal was delayed until the SRO arrived. Students remained in their classrooms.

Deputy Ashley Grimes made contact with the man at the front office. She pulled him aside into a private office and asked if he was armed. He said he was, and she removed the Smith & Wesson handgun from his side without incident, Brandon said.

In addition to the firearm and loaded magazine, he was also in possession of two additional magazines loaded with 14 rounds of ammunition, and a knife.

The man, who does have a valid handgun carry permit, said he was unaware that it was against the law to carry in the school. The law is posted on the door when entering the school, Brandon said.

He was taken into custody and charged with carrying weapons on school property, which is a Class E felony.