BROOKLYN - The final man who played a role in the death of Detective Peter Figoski was sentenced to 18 years in prison.

Ariel Tejada struck a plea deal in the case and testified against his four co-defendants.

Figoski was shot to death in December 2011 while responding to a robbery in Cypress Hills. Triggerman Lamont Pride was sentenced earlier this year to 45 years to life. Kevin Santos and Nelson Morales were both sentenced to 25 years to life after being convicted of second-degree murder and burglary.

The accused getaway driver was cleared on all charges.

Tejada apologized to the Figoski family before his sentence was read in court.

Figoski left behind a wife and four daughters.