Authorities say a driver fleeing a traffic stop caused a deadly crash that also involved an unmarked Miami-Dade Sheriff’s Office (MDSO) vehicle Wednesday night in northwest Miami-Dade.

MDSO said the crash happened near the intersection of Northwest 51st Terrace and Northwest 33rd Avenue, after deputies with the robbery intervention detail stopped a vehicle in the Brownsville neighborhood at about 7:42 p.m.

During the traffic stop, deputies confirmed that the driver had an outstanding warrant for an undisclosed , but the person behind the wheel took off, officials said.

More units responded as the driver entered a dead-end street, turned around and “ran a stop sign, colliding with a civilian vehicle [and] causing it to flip.”

The impact caused the cars to also hit an unmarked MDSO vehicle occupied by a deputy who was in the area searching for the subject, authorities said.

Surveillance video shared by community resident Ruddy Ocampo captured screeching tires and the violent crash. Rescue personnel said one of the victims had to be extricated from a vehicle.

The sheriff’s office said the driver of the civilian vehicle was rushed to the hospital in critical condition, but did not survive.

“The subject was taken into custody and transported to a local hospital for evaluation,” MDSO said.

The deputy was treated at the scene by Miami-Dade Fire Rescue.

The names of the people involved were not provided.

The investigation continues.