MIAMI (CBSMiami) – A police officer making a routine traffic stop wound up in a potentially deadly situation in Miami-Dade County Friday.

It happened early Friday morning near the intersection of 262nd Street and U.S. 1. Two officers made a traffic stop when one of the officers noticed drugs inside the car.

READ MORE: Florida Gov. Ron DeSantis Signs Unemployment, Vaping Bills

At that point, the two subjects in the car, Tavaris Brockington, 25, and Patrick Joyner, 32, hit the gas trying to get away from the officers, dragging one of the cops behind the suspect’s car.

READ MORE: Area Businesses Looking To Benefit From Fort Lauderdale Air Show

Officers opened fire on the car and eventually both people in the car bailed out of the car at 232nd Street near U.S. 1.

MORE NEWS: Going To The Fort Lauderdale Air Show This Weekend? Here's What You Need To Know

Police were able to catch both the driver, Brockington, and the passenger, Joyner, a short time later. The officer who was dragged was not injured in the incident.