Police shot and wounded a knife-wielding man who entered a restricted area of Miami’s airport and then got onto the tarmac Thursday.

The incident began to unfold around 8:30 p.m., a hectic day for the airport after half a million people were ordered to evacuate South Florida because of Hurricane Irma.

Police received a call about a man “acting erratically,” according to a news release from the Miami-Dade Police Department.

Officers from the department’s incident containment team responded to the area near Terminal J, which is mostly used for international flights, the Washington Post reports.

The man with the knife ran, and officers chased him. He somehow managed to get into a restricted area and made his way onto the tarmac. Some accounts say he tried to get on the roof of Terminal J. At some point, he attempted to climb through the ceiling to get back into the airport.