Hamilton Middle School in the 1400 block of South Broadway was on lock down.
Police said a man running from a car stop attempted to get inside the building. It happened just after three o'clock Friday afternoon. Police arrested the man near Topeka and Boston, where he was found hiding in the backyard of a home.
The man was wanted on city and county warrants. Police said the driver of the car was questioned and released. A school district spokeswoman said no parent note or message was sent home, because the building doors were locked and buses held until the foot chase was over.