A suspected robber was shot and killed over the weekend by his intended victim who had his own weapon, Houston police said. 

The robbery occurred around 10:30 p.m. when a man was leaving an ATM. Another man tried to rob him and the victim pulled out a gun, Fox Houston reported. 

Both men fired their weapons. 

NYPD REPORTS 51% SURGE IN CAR THEFTS, AS ‘BRAZEN’ CRIMINALS BOAST OF STOLEN VEHICLES ON SOCIAL MEDIA

Police car at scene of Houston robbery gone wrong

Houston police at the scene where a robbery suspect was shot and killed by his alleged victim near an ATM. (Houston Police Department )

The suspect was struck once and authorities pronounced him dead at the scene. The news outlet said the shooter remained at the scene and cooperated with investigators. 

In June, another Texas gun owner defended himself against when he shot a teenage would-be robber in Austin. The suspect in that case, Jaylyn Reed, 17, was charged with aggravated robbery with a deadly weapon. 

CLICK HERE TO GET THE FOX NEWS APP

At the time of the alleged crime, he had just been released from juvenile detention with an ankle monitor, which he cut off. He was shot in the leg and taken to a hospital.