The man struck the suspect with his Chevy Cobalt, retrieved his cash from his pockets and headed home

The victim drove away after robbery, but then returned to look for his debit card and again came upon his attacker, now armed with a knife

A suspected robber who held up a man at a drive-up ATM in Philadelphia got his comeuppance when the victim returned to the scene of the mugging minutes later and turned the tables on his assailant.

Police say a Portuguese immigrant was withdrawing money from a Wells Fargo bank on Bustleton Avenue on Monday night when he was approached by a man armed with a gun.

The suspect, a 49-year-old man described as wearing dark sunglasses and a hooded sweatshirt, grabbed the cash from his victim and fled.

The driver of this white Chevy Cobalt struck a man who police say had robbed him at a drive-up ATM in Philadelphia

The suspected mugger had managed to plunge a knife through the windshield before beyond tossed into the street

The driver, who had his wife and young child in his white Chevy Cobalt at the time, sped off, but later realized that his debit card was still in the ATM, so he returned to look for it, thinking the robber was long gone, reported Philly.com.

But the married dad was in for a startling surprise.

Investigators say the perpetrator showed up again, this time brandishing a knife.

That is when police say the driver of the Chevy jumped into action, striking the brazen thug with his car and tossing him onto the street.

Before he became airborne, the mugger managed to plunge his knife through the victim's windshield, leaving a hole in the glass.

The man then approached the bloodied mugger, went through his pockets, retrieved his stolen cash and headed home less than a mile away.

The incident took place at this Wells Fargo bank on Bustleton Avenue

Police found the 49-year-old suspected thief lying bloodied near the bank

Police officers located the damaged Chevy on Rutland Street and interviewed its owner, who recounted the events of the night through a Portuguese-speaking interpreter.

Investigators later obtained surveillance footage from the bank, which they say corroborated the victim's story.

The robbery suspect was taken to Aria Torresdale Hospital with critical head injuries, reported CBS Philly. When he is released, he is expected to be charged with robbery.