BROCKTON, Mass. (WPRI) — The fugitive caught on camera dragging a Massachusetts State Police trooper with his car in Brockton Wednesday evening has been captured, according to authorities.

Troopers found Derek Lobo, 31, hiding inside a Union Street home Thursday afternoon. He was arrested by the same trooper he had dragged the night before.

Derek Lobo (Courtesy: Massachusetts State Police)

Lobo is accused of dragging a trooper down Montello Street while speeding away from a traffic stop.

Dashcam footage shows two troopers speaking with Lobo, who was sitting in the driver’s seat, shortly after pulling him over. The driver’s side door was open and one of the troopers was leaning into the vehicle when Lobo unexpectedly stepped on the gas and took off.

The trooper who was speaking directly with Lobo could be seen clinging to the vehicle as Lobo sped away. He held on for several yards before falling onto the pavement, narrowly missing an oncoming car.

The trooper suffered minor injuries.

Lobo is facing nearly a dozen charges, including assault and battery on a police officer, assault and battery with a dangerous weapon, failure to stop for police and trafficking fentanyl.

He is scheduled to be formally arraigned Friday.