The last of four NYPD officers injured during a shootout with a suspect has been released from the hospital.
Officials say Detective Michael Keenan was released on Tuesday. He had been shot in the upper thigh.
Detective Kenneth Ayala was released Monday. He was shot in the thigh and foot during the incident Sunday. Two other officers were also injured but already released.
The suspect was in critical but stable condition.
Police say Nakwon Foxworth opened fire on the officers in his apartment. They say he previously had pulled a gun on two people who called for help.
They say he fired 12 times and had three loaded illegal weapons.
Police say his girlfriend fled the apartment with their baby son moments before the shooting.
Get the latest from NBC 4 New York anytime, anywhere. Follow us on Twitter, Facebook and Google+. Sign up for email newsletters here. Get breaking news delivered right to your phone -- just text NYBREAKING to 639710. For more info, text HELP. To end, text STOP. Message and data rates may apply.