CORPUS CHRISTI, Texas (AP) — A South Texas man has been sentenced to 45 years in prison for wounding two Corpus Christi officers during an exchange of gunfire while stealing their police SUV.

Travis Magill was sentenced Wednesday in Corpus Christi in the 2014 shootings.

A jury on Tuesday convicted the 24-year-old Magill of two counts of attempted capital murder, unauthorized use of a motor vehicle and possession of a controlled substance, methamphetamine.

Investigators say Magill commandeered a police SUV during the gunfire that left him shot in the chest and the officers with leg and other wounds. Magill was captured when he drove the vehicle into a utility pole.

His two-year prison term on the motor vehicle conviction and one year in the drug case will be served concurrently with the 45-year term.