BIRMINGHAM, Alabama - A man died early Sunday after he was shot twice during a robbery attempt in a parking lot across the street from a downtown Birmingham nightclub.

At 5 a.m., North Precinct officers responded to a report of a person shot in the 200 block of 17th Street North, Birmingham police spokesman Lt. Sean Edwards said in a news release.

The victim, who had been shot twice in the leg, was found inside his car in a private parking lot across the street from Club Platinum. Birmingham Fire and Rescue took him to UAB Hospital, where he died.

The man's name will be released once his family has been notified.

Based on the preliminary investigation, Edwards gave this account of the shooting:

Investigators learned that the man was shot during a robbery attempt while he and his girlfriend were getting into the car after leaving the club. An armed black man approached them and demanded money.

The victim instead retrieved a gun from his car, and the men exchanged fire.

The suspect fled in scene in a silver vehicle but was brought to UAB Hospital shortly after the shooting occurred. He also had been shot several times.

Witnesses identified the man as the person who tried to rob the victim.

Anyone with information about the case can contact the Birmingham Police Department's Homicide Unit at 205-254-1764 or Crime Stoppers at 205-254-7777.

Updated at 7:20 p.m. to correct location where shooting took place