NEW YORK (CBSNewYork) — An NYPD detective has been released from the hospital after he was shot in the leg Friday in Brooklyn.

The shooting happened around 6:40 a.m. on Decatur Street in the Bedford-Stuyvesant neighborhood.

Police Commissioner James O’Neill On Officer Shooting 

Police said Det. Miguel Soto and his partner were in an unmarked police van when they noticed 33-year-old Kelvin Stichel, who was wanted in a domestic armed robbery.

“The police identified themselves and told the man to show them his hands,” said Police Commissioner James O’Neill. “The suspect then displayed a gun and shot at the officers, striking a detective once in the leg. The detective returned fire as the two other officers and the suspect ran away.”

detective NYPD Detective Home From Hospital After Being Shot In Leg In Brooklyn

A NYPD detective who was shot in Bed-Stuy on July 6, 2018, was released from the hospital the same day. (credit: CBS2)

Soto was shot once in the right thigh, and the bullet passed through his leg.

“He’s a real tough guy. I’m glad he’s part of the NYPD. He does a great job each and every day,” O’Neill said.

The 32-year-old husband, father and seven-year member of the NYPD was treated at Kings County Hospital and released about eight hours later. 

Stichel was shot in the arm. He was taken to Brookdale University Hospital Medical Center where he was expected to survive.

Police said the officers followed a trail of blood to find him hiding in the hallway of an apartment building on Kingston Avenue.

kelvin NYPD Detective Home From Hospital After Being Shot In Leg In Brooklyn

Kelvin Stichel (credit: NYPD)

A .45 caliber semi-automatic handgun was recovered from a nearby garbage can.

gun NYPD Detective Home From Hospital After Being Shot In Leg In Brooklyn

Police recovered a .45 semi-automatic handgun following a chase of the shooting suspect in Brooklyn on July 6, 2018. (credit: CBS2)

Stichel has numerous prior arrests, including for allegedly assaulting a police officer.