The man who led police on a chase from Hanahan to downtown Charleston last year was sentenced to 33 years in prison Wednesday morning.

After a two-day trial in Berkeley County, a jury found Barry Stanley, 30, of Charleston, guilty of trafficking cocaine and failure to stop for blue light. The trafficking conviction was a third offense, which carries a mandatory minimum sentence of 25 years.

Circuit Judge Kristi Harrington sentenced Stanley to 30 years in prison for trafficking and three years for failure to stop, both the maximum sentences for the offenses. He will have to serve 85 percent of his sentence before being eligible for parole.

At around 5 p.m. March 11, 2013, officers were told that a man was beating up his girlfriend on Old Point Road, according to an incident report.

Evette Monique Nelson, of Hanahan, ran to her neighbors house screaming that Stanley was trying to kill her, according to authorities. Two small children, 11 months and 2 years old at the time, were left in the home. By the time police arrived, Stanley had fled the scene, prosecutors said.

He led police on a chase for 12 miles on several busy roads in Hanahan, North Charleston and Charleston during rush hour, at one point hitting a vehicle on Rivers Avenue, prosecutors said.

During the chase, a few witnesses saw Stanley throw a plastic bag from the car window, according to prosecutors. The witnesses retrieved the bag and turned it into police. Tests later showed the bag contained about an ounce of cocaine, prosecutors said.

Stanley managed to elude authorities for a week before being arrested on Wadmalaw Island.

Stanley also was accused of forcing an officer off the road. Prosecutors decided not to move forward with trying a charge stemming from the alleged encounter with the officer.

Nelson was charged with unlawful conduct toward a child after authorities found traces of cocaine in the home's microwave and the two children tested positive for cocaine, prosecutors said. She pleaded guilty in March 2013 and was sentenced to five years of probation. She also testified in the trial against Stanley.

Reach Natalie Caula Hauff at 937-5594 or Twitter.com/ncaula.