When a driver tried to take off during a traffic stop in Mattapan, a Boston police officer dove into the car and fought with the man to regain control of the vehicle.

"After a lengthy struggle, the officer was able to rip the keys out of the ignition while bringing the car to a rolling stop," the Boston Police Department wrote in a news release. "With the vehicle stopped, officers immediately took the suspect into custody."

During a search of the vehicle, officers say they found a large bag of marijuana, a gun and about $2,000 in cash, Mass Live reports.