New Orleans police on Tuesday arrested a 20-year-old man accused of robbing and kidnapping a taxi driver.

Jerome Marks was booked on counts of armed robbery, aggravated kidnapping and aggravated criminal damage to property.

The robbery happened shortly before 5 a.m. Tuesday, police said. Marks flagged down the cab in the 1300 block of North Prieur Street. After getting in it, he fired a shot through the vehicle’s GPS system, disabling it, police said.

As the cab approached North Claiborne Avenue and Bienville Street, the gunman demanded cash from the driver, police said. The driver handed over $900 and was ordered to drive to an ATM in the 4900 block of Prytania Street.

“The victim was unable to withdraw cash from the ATM,” said Officer Frank Robertson, a New Orleans Police Department spokesman. “Marks and the victim observed a police cruiser in the area. Marks told the victim if the police would stop them, he would kill him.”

Officers James Martin and Anthony Dupree, aware of the robbery in progress, spotted the cab at Prytania and Jackson Avenue. They turned on their lights and siren, stopped the cab and took Marks into custody without incident.