CROWN POINT, Ind. (AP) — A Gary man convicted in the 1980 shooting death of an off-duty Hammond police officer has been sentenced to 47 years in prison.

Fifty-five-year-old James Hill learned his punishment Wednesday after a jury in August convicted him of murder in perpetuation of robbery and attempted robbery.

READ MORE: Chicago Weather: Warm, Sunny Fall Day

Prosecutors said Hill waited in a getaway car while his two alleged accomplices went inside a Holiday Inn in Hammond, demanded money from a clerk and shot 33-year-old Lawrence Pucalik while Pucalik worked as a security guard.

READ MORE: Chicago Sky Win First WNBA Championship As They Top Phoenix Mercury

Hill denied involvement. He told the court, “I had nothing to do with it, and a great injustice has been done.”

Defense attorney Scott King said Hill would appeal the conviction. He argued Hill was prosecuted because he’s suing the city of Hammond in an unrelated case.

MORE NEWS: Jubilant And Inspired Fans, Booming Businesses Near Wintrust Arena As Chicago Sky Win WNBA Championship

(© Copyright 2018 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)