A D.C. police officer investigating a street robbery in Southeast Washington shot and wounded a man early Wednesday during an exchange of gunfire on a District street, according to a department spokesman.

Officer Araz Alali, the spokesman, said the officer was not injured in the 1 a.m. gun battle in the 2500 block of Minnesota Avenue SE, in a residential neighborhood near Pennsylvania Avenue just east of the Anacostia River.

The suspect, identified as 35-year-old Antwone Prince, of Northwest, was struck once in the leg, the spokesman said. He was treated at a hospital and charged with robbery, assault with intent to kill and assault on a police officer.

The Sixth District officer, whose name was not released, had responded to a 911 call in reference to an armed robbery that had just occurred. The officer saw a man fitting the description and was approaching him when the man pulled out a gun and opened fire, Alali said. The officer returned fire, hitting the man in the leg.

Alali described the suspect’s weapon as a semiautomatic handgun.

Court records show that Prince had just been released from prison June 16 after serving a 34-month sentence for being a felon in possession of a firearm. The sentence had begun when Prince was arrested in December 2011. At the time of Wednesday’s shooting, Prince was on five years supervised probation.

The 2011 incident occurred in the 2300 block of Minnesota Avenue SE, two block from where he was shot Wednesday, when police said they saw two people fighting. During a search, police said they found a handgun tucked into Prince’s waistband, court documents show.

Court records show Prince had previous convictions that included carrying a gun without a license in the District in 1998 and automobile manslaughter in Prince George’ s County in 2009. In that case, he was sentenced to five years in prison, with all but two years suspended.

Get updates on your area delivered via e-mail