A Roosevelt man who prosecutors said shot another man to death in July 2014 as he tried to steal the victim’s BMW was sentenced Friday to 27 years to life in prison.

Tayquan Clark, 24, who left a fingerprint on the door of the vehicle, was found guilty by a jury Oct. 14 of second-degree murder, two counts of first-degree attempted robbery, and four counts of second-degree criminal possession of a weapon, Nassau District Attorney Madeline Singas said.

“This defendant shot and killed an innocent man as he attempted to steal his car,” Singas said in a statement. “This sentence ensures that this murderer will pay a heavy price for his despicable crime.”

Authorities said during the attempted carjacking of a BMW, which took place on Prince Street in Hempstead on July 5, 2014, Clark fatally shot victim Shawn Boone, 26, of Hempstead, in the head as Boone’s girlfriend sat in the passenger seat.

Not only was Clark tied to the scene by the fingerprint, authorities said, but prosecutors said a seized gun matched the bullet found in the victim’s brain — and that a recorded jail call proved Clark was behind the deadly carjacking attempt.

“Greed, terror and murder,” is how Assistant District Attorney Martin Meaney described the crime to jurors.

advertisement | advertise on newsday

Clark was acquitted of first-degree murder, his attorney, Stephen Kunken, said at the time.

The Commack lawyer had called the case “purely circumstantial.”

Clark was on parole after an attempted robbery conviction when police arrested him July 26, 2014, on a gun charge outside an American Legion hall in the same area of Hempstead.

Authorities accused him of Boone’s slaying after they said ballistics evidence linking the killing to the revolver they had charged him with possessing.

Kunken had offered alternative motives for the killing, including revenge on the part of an “associate in crime” who may have figured Boone “ratted him out.” State records showed Boone served prison time for attempted assault and attempted robbery.