NEWARK, NJ — A prisoner was apprehended at Newark Liberty International Airport after he escaped into the ceiling of Terminal C on Tuesday, a U.S. Customs and Border Protection spokesperson said.

The man had been indicted and was not allowed to leave New York, officials said. CBP officers and Homeland Security agents arrested him at the airport around 11:30 a.m.

Once in custody, the man asked CBP officers if he could use the restroom, officials said. He attempted to escape into the ceiling.

The Port Authority Police Department also assisted in apprehending the man.

He was turned over to Homeland Security for federal prosecution.

The arrest and escape attempt resulted in minimal operational impact to the airport, officials said.