SALT LAKE CITY — A Utah man convicted of killing a sheriff’s deputy with an assault rifle has been sentenced to life plus 80 years in prison.

A federal judge handed down the maximum sentence to 44-year-old Roberto Roman on Thursday. Roman has testified it wasn’t him but the deputy’s brother who fired the fatal shots after the pair smoked methamphetamine together.

Prosecutors say Roman killed Josie Greathouse Fox so he wouldn’t be arrested for selling methamphetamine. They say Roman tried to blame her brother Ryan Greathouse after he died of a drug overdose.

Prosecutors say Greathouse bought drugs from the defendant, but left before his sister pulled over Roman’s car shortly before the fatal shooting in 2010.

Roman’s federal conviction for killing a law enforcement officer came after a state jury acquitted him of aggravated murder.