BROOKLYN - The man accused of driving the getaway car on the night that a celebrated NYPD officer was fatally shot has been acquitted of all charges.

Michael Velez, 22, of Queens, was acquitted of two charges, burglary and second-degree murder.

Prosecutors had said he was one of five men who took part in a botched robbery that ended with the death of officer Peter Figoski, a father of four from West Babylon. Figoski was posthumously promoted to detective.

Lamont Pride, the man prosecutors accused of shooting Figoski, was convicted of second-degree murder earlier this week.

Three other men are facing separate trials for their alleged roles in the crime.