Crews responded to a building collapse in north St. Louis Wednesday morning.

According to the St. Louis Fire Department, a man fled from police and ran into a vacant building along the 4800 block of Maffitt. When he was running to the second floor of the building, it collapsed and trapped him inside.

The man was transported to a nearby hospital with minor injuries.

It’s unclear what caused the police pursuit.