KYLE, Texas (KXAN) — Kyle Police said a middle school went into lockout mode for a brief time Wednesday afternoon, because an alleged thief ran across school property.

Police tweeted Wednesday night they arrested a person they suspect stole from a convenience store.

According to police, the person ran across the campus of Chapa Middle School on 3700 Dacy Ln. but did not enter any campus building. The Hays Consolidated Independent School District said police responded about 30 minutes after school was let out.

Kyle Police said officers took the person into custody at 4:30 p.m. and gave Chapa the all clear. The district told KXAN the suspect was caught in the school’s front parking lot.

Police did not name the convenience store or the person they suspected of stealing.

According to the Hays CISD website, the regular schedule for middle schools is 8:10 a.m. to 3:35 p.m. The district said it called for a lockout briefly since some students were still waiting in the cafeteria for buses and the football team was practicing on the field.

Hays CISD said it sent out an email to parents once the situation was under control at about 4:25 p.m. You can read the full email below:

“Today, after school released, but while we still had a number of students on campus; we had to call for a lockout. That means we brought all students and staff inside the building and secured the perimeter of our building. This was because of police activity near our campus. There was not a threat to our school, nor was there ever a danger inside. We wanted to make sure, however, that the law enforcement activity didn’t accidently affect us. I am happy to report that everyone is safe. The event is over. And, our students and staff did an outstanding job during this emergency.”