Three armed robbers in Colorado had the tables turned on them when someone stole their getaway car, resulting in two of them being arrested, police said. 

The masked trio went into the Hi Lo Check Cashing in the Denver suburb of Commerce City just before 11 a.m., the Commerce City Police Department said Tuesday. 

During the heist, a female thief "seized the opportunity to do what criminals do – steal what was very likely already a stolen vehicle," a Tuesday police Facebook post said. 

The robbers inside the business were forced to flee on foot before two of them were arrested. 

COLORADO MAN SENTENCED TO LIFE IN PRISON FO KILLING HIS BROTHER WITH A SWORD: DA

Video footage of a getaway car stolen from a parking lot

Video surveillance captures the moment a thief stole the getaway vehicle for three armed robbers at a Colorado check cashing business, police said.  (Commerce City Police Department )

"Bested by an industry colleague," the police department said. "It happens to everyone, boys. Because the female car thief took their ride, the armed suspects were forced to flee on foot... and we caught two of them (juvenile males)... and two of their guns."

TWO ALLEGED MEMBERS OF NOTORIOUS ‘KIA BOYS’ CAR THEFT RING CAUGHT AFTER WASHINGTON HEISTS: COPS

The third suspect is still being sought. 

Two Commerce City police vehicles parked outside a business

Commerce City police vehicle parked outside a business.  (Commerce City Police Department)

CLICK HERE TO GET THE FOX NEWS APP 

No one was harmed during the incident. Authorities said they were grateful to the car thief. 

"So ma'am – whoever you are – we'd like to shake your hand," police said. "Then slap a pair of handcuffs on it because you're also facing Motor Vehicle Theft charges."