PORTLAND, Maine — Maine’s supreme court has affirmed the conviction of a Maine man who fatally shot a man in 2014 and then fled the state.

Abdirahman Haji-Hassan (ab-deer-RAH’-mun HAH’-jee-huh-san), of Portland, contended the trial judge erred by limiting some testimony and in instructions to the jury.

The Maine Supreme Judicial Court rejected his appeal on Thursday.

Police say Haji-Hassan shot 23-year-old Richard Lobor during a dispute at another man’s apartment in Portland. Police say Lobor had stepped in between Haji-Hassan and another man who were arguing. Hassan is serving a 39-year sentence.