A Minnesota man has been sentenced to 35 years in prison for a fatal drive-by shooting in Fargo.

45 year-old Miguel Cooley earlier pleaded guilty to a charge of intentional homicide in Cass County Circuit Court.

Cooley killed 20-year-old Gabriel Perez as the victim sat on a curb outside a McDonald’s restaurant in September 2018. Court records say investigators believed Cooley was jealous over a relationship his wife had with Perez.

Cooley, from Moorhead, was arrested the day after the shooting in Mower County. The judge, in sentencing Cooley Monday, went along with the recommendation of both the prosecution and defense.