An inmate shot two sheriff's deputies, killing one, during an escape attempt from a western Iowa jail.

The shooting killed deputy Mark Burbridge, who was a 12-year veteran at the sheriff's office. It also injured deputy Pat Morgan, who is expected to survive.

The inmate accused of the shooting is Wesley Correa Carmenaty.

Correa Carmenaty was sentenced 45 years in prison for voluntary manslaughter, attempted murder and robbery Monday morning.

Authorities say after receiving his sentence, Correa Carmenaty assaulted two deputies who were transporting two inmates and had just arrived at the jail. He then grabbed one of their weapons and started shooting. Police say Correa Carmenaty then used a van to crash through a garage door at the jail.

Correa Carmenaty then ditched the van and stole a car in Omaha, Nebraska. He led police on a chase before he crashed his vehicle. That's when authorities arrested him.