ABILENE (CBSDFW.COM/AP) — A Texas sheriff’s deputy has been fired after video showed him driving down a Texas highway with an inmate sitting on the roof.

The deputy had been transporting 31-year-old Martin Gregory Estrada when the man broke a patrol car window and climbed onto the vehicle’s roof. The deputy summoned help and didn’t stop until backup arrived.

READ MORE: Working From Home Is Exposing Us To Another Type Of Virus: Cybercrime

A spokesperson with the Taylor County Sheriff’s Office says the deputy was terminated for violating office policies on inmate safety and security.

READ MORE: Immigration Conversation Between Former President George W. Bush, Dirk Nowitzki And Mark Cuban Airs At Dallas Mavericks Game

Officials say Estrada was being transported from a hospital facility in Wichita Falls to Abilene — a distance of about 150 miles. Investigators say Estrada slipped out of his handcuffs at one point, shattered a back window in the patrol car and climbed on the roof.

Video of the July 18 incident was recorded by a motorist following the patrol car.

MORE NEWS: Driver Charged With Intoxication Manslaughter Following Crash In Arlington That Killed Passenger

(© Copyright 2018 CBS Broadcasting Inc. All Rights Reserved. The Associated Press contributed to this report.)