Brim told police he went to the school to help his wife with some computer problems because she was the IT tech for school. He said the gun fell out of his back pocket while he was there, according to the warrant request.

The gun was discovered by a teacher Monday morning.

Brim told police he did not realize the gun was missing until his wife told him the school was on lockdown because a loaded gun was found on school grounds.

Brim's concealed carry license expired, according to court documents.

He was booked into the Cleveland County jail and his bail was set at $5,000.