F Daly enters the courtroom at the Penobscot Judicial Center in Bangor on Feb. 24, 2020. Credit: Natalie Williams / BDN

BANGOR, Maine — Maine’s highest court on Thursday rejected an appeal by a Boston native convicted and sentenced to 42 years in prison for a fatal shooting in Bangor.

F Daly was convicted of murder in the killing 51-year-old Israel Lewis, whose body was found in a boarding home in January 2018.

In his appeal, Daly contended the trial judge should have allowed evidence of an alternative suspect and that the judge should have granted a request for a new trial. The Supreme Judicial Court upheld the judgment, sentence and denial of a motion for a new trial.

Daly confessed to his former girlfriend and a gun hidden in his home matched bullet casings left at the scene, prosecutors said.