A man was in police custody after he tried to enter Pershing Park Elementary School Thursday afternoon.

A Killeen Police Department spokesperson said the shirtless unknown man was causing a commotion in the parking lot.

He entered the front lobby yelling and then left the building when he was confronted, according to KPD.

Killeen ISD Police and Killeen PD officers chased the man down and detained him at a nearby apartment complex.

No charges had been filed, as of Thursday evening.

The school was on lockdown for 30 minutes.