LOGAN, Utah — An Idaho man who pleaded guilty to firing shots at Utah emergency crews after crashing his car into a natural gas line near the border will serve prison time.

The Herald-Journal reports (http://bit.ly/2e0vwMO ) 31-year-old Cade Austin was sentenced Monday to at least one year and up to 15 years in the Utah State Prison.

Prosecutors say the Preston, Idaho man crashed his car in December and started shooting at emergency workers who came to help near Lewiston, Utah. One of the responders returned fire, injuring Austin.

Police say he nevertheless kept drinking and officers negotiated with him for more than an hour before he passed out.

Austin pleaded guilty to reduced charges of attempted murder and aggravated assault.

Attorney Greg Skordas says Austin will get credit for the 303 days he’s served since his arrest.