FARMINGTON — A Farmington man who pleaded guilty to first-degree charges of attempted murder was sentenced to five years to life in the Utah State Prison for shooting at a police car in December.

Zane Todd Openshaw, 22, was in 2nd District Court Monday June 17 to hear his sentence.

A Sunset police officer followed a car on a possible traffic violation into Clinton about 5 p.m. on Dec. 13, Sunset police said at the time.

Traffic was heavy and the officer decided not to pursue the traffic stop. The officer made a U-turn to return to Sunset when the shooting occurred, Chief Ken Eborn said. Near 1000 West, the officer saw a man standing on the side of the road who appeared to be reaching for a weapon.

The man fired several rounds into the police car. The officer was not injured.К

The man was found later in a shed and identified as Openshaw.

After he was arrested, Openshaw allegedly told police he had an argument with his girlfriend, so he took a gun from the couple’s home. When the police vehicle approached, Openshaw “fired until the gun was empty knowing that be doing so it would hurt the officer,” according to court documents.