A 21-year-old carjacking suspect was shot dead in Milwaukee early Monday when police say his intended victim put to use his concealed gun.

Police Capt. Andra Williams says the 24-year-old man was heading to work shortly before 6am when Carlos Martin allegedly tried to rob him near Milwaukee MachineTool Corporation in the 8800 block of West Fond du Lac Avenue.

The motorist thwarted the carjacking by shooting the 21-year-old suspect with his handgun, for which he has a valid concealed carry permit, according to the authorities.

Scroll down for video

One wrong move: Carlos Martin (left and right), a 21-year-old carjacking suspect, was shot dead in Milwaukee Monday when police say his would-be victim put to use his concealed gun

Police are seen working at the scene of the fatal shooting in the 8800 block of West Fond du Lac Avenue in Milwaukee on Monday

Williams tells Fox 6 Now the shooter stayed at the scene and is cooperating with the investigation. He has not been named.

Police say Martin, who was a convicted felon, was also armed with a gun at the time of the botched robbery.

They are looking for a green Chrysler Pacifica which may be connected to the attempted carjacking.

Milwaukee County prosecutors will decide whether charges are warranted against the shooter, or if Martin’s killing was justified self-defense.

According to online arrest records, despite his young age Martin had been booked into jail on at least four occasions in 2015 and 2016, including on charges of substantial battery and robbery with use of force.

A recent Facebook post on his account indicates that the 21-year-old man has a young daughter and a son on the way.

A 24-year-old man was headed to work before 6am when police say Martin attempted to steal his car, but was met with deadly force

Milwaukee County prosecutors will decide whether charges are warranted against the shooter

‘This should be a wake-up call to everyone in the community that this is not a game. This is very serious,’ Capt Williams said.

The incident was the first shooting to have occurred in Alderman Cavalier Johnson's district so far this year.

During a press conference on Monday, Johnson said Martin had made a bad decision that ended up costing him his life.

Echoing Capt Williams' words, the alderman said: 'This isn't live-action Grand Theft Auto. You don't respawn after you're dead.’