MARIETTA, Ga. -- A Cobb County judge sentenced a drug trafficker who injured two troopers to 18 years in prison on Thursday.

Cobb County District Attorney Vic Reynolds announced that 38-year-old Alvaro Santana Jimenez of Conyers was sentenced after pleading guilty to aggravated battery and other charges.

“It is of utmost importance that we protect those who risk their lives to protect us,” Dputy Chief ADA Jason Saliba said. “In Cobb County, we will not allow violence against a police officer.”

Officials said Jimenez ended up dragging a Georgia State Trooper during a traffic stop on Oct. 15, 2015. He had already gotten out of the car and was next to a trooper's vehicle when authorities said he managed to run back to his vehicle and attempt a getaway.

During the battle to arrest Jimenez, one trooper was punched and another stuck in the front window and dragged for 40 yards.

The latter trooper suffered fractures to his skull and eye socket, cranial bleeding.

The suspect managed to dump a large amount of heroin before being apprehended again.In addition, he also faces two counts of obstruction of an officer and trafficking in illegal drugs.

After accepting a plea deal, Jimenez was sentenced to 18 years in prison and a mandatory fine of $300,000 for trafficking.

After his prison sentence, a judge said that he would likely be deported to Mexico once his sentence is completed.

“Understand the benefit you are getting today, even as bad as it may sound,” Chief Magistrate Joyette Holmes told Jimenez. “In the posture in which it sits, this could have been much worse. There could have been a death.”