Dallas Police have arrested a man who allegedly robbed a Subway restaurant last week with a curling iron, which he tried to pass off as a gun.

Thirty-year-old Arieus Warren barged into the Subway restaurant on Nov. 6 at 9:30 p.m. on the 300 block of West Kiest Boulevard, went straight to the cashier, said he was carrying a gun and asked for money at the cash register, according to NBC Dallas-Fort Worth 5.

Warren also allegedly demanded the customers inside the restaurant to get down and implored an employee to place all the money, totalling only $9, in a sandwich bag.

He then threatened a woman to give him the keys to her Nissan Juke "or I'ma shoot y'all," he said before heading to the car, leaving the loot at the passenger seat and fleeing, according to his arrest affidavit, The Dallas Morning News reported.

Warren then arrived at a neighborhood near Interstate-35 and attempted to hijack a car from a person who realized he did not have a gun with him, leading to the person driving off to inform the police.

The person with the car then told police officers that the suspect ran towards a storage shed found in the 300 block of West Corning Avenue. As the police officers arrived near the shed, they saw a man that matched the description of Warren.

He fled on foot after having an eye-to-eye with the officers, but they were a few steps ahead of him as they had already set up a perimeter where they caught the suspect in no time, according to CBS DFW.