Chicago (CBS) — Two would-be robbers ended up in the hospital overnight after the man they were targeting pulled out his own gun and shot them.

A 29-year-old man was standing on the sidewalk on West Cortland Street near North Francisco Avenue in the Logan Square neighborhood around 9:30 p.m. Monday.

READ MORE: Thieves Steal Your Identity To Get Rental Cars, And You Get Stuck With The Bills

Two men got out of a silver Nissan holding guns and tried to rob him.

READ MORE: Chicago Weather: Another Mild Day

But, the victim had a gun of his own and fired it. Both robbery suspects were hit and went to the hospital in stable condition.

MORE NEWS: 6-Year-Old Girl Shot On West Englewood Porch, Suffers Graze Wounds

Police say the gun owner had a concealed carry license and was not hurt.