OKLAHOMA CITY (AP) — A man has been sentenced to 25 years in prison in the shooting deaths of his father and an off-duty police lieutenant just west of Oklahoma City.

The Oklahoman (http://bit.ly/2s1agNX ) reports that a judge sentenced 24-year-old Jonathan Henry Grafton on Tuesday in accordance with a plea agreement.

Prosecutors say Grafton fatally shot his father, Jeffrey Grafton, and Lt. Trey Pritchard at a Midwest City motel after the younger Grafton stole money and a truck from his father in August 2015. The victims were cousins.

Jonathan Grafton's girlfriend testified about thefts, saying the couple was addicted to methamphetamine. Police say the couple was tracked using the truck's GPS.

Jonathan Grafton pleaded guilty last month to second-degree murder, meth possession, and assault and battery upon an officer. His girlfriend also pleaded guilty in the case.