A man was killed when he attempted to rob another man, who then shot him, police say.

The shooting happened at Northwest 70th Street and 17th Avenue in Miami about 7:30 p.m. Tuesday.

The robber shot the other man in the hand, police say. The victim then pulled out his own gun and shot the robber several times.

Both men were transported to Jackson Memorial Hospital, where the robber died.

The other man sustained non-life threatening injuries.