SWNS / Splash News 1 / 7
SWNS / Splash News 1 / 7

British rocker Pete Doherty has been charged with possessing heroin after he was arrested following a court appearance on Monday.

RELATED: See more stars who were in trouble with the law in 2009

The Babyshambles frontman was held by cops as he left a court in Gloucester, England after pleading guilty to drink-driving and careless driving.

Onlookers said Doherty had been frisked by security staff on his way in to the building and a small package had fallen out of his pocket during the search.

RELATED: Become a fan of Wonderwall on Facebook

Officers waited for the former Libertines singer's case to end before arresting him on suspicion of possessing a controlled substance.

RELATED: Follow Wonderwall on Twitter

Doherty was quizzed at a nearby police station and charged with possession of Class A drugs. He is due in court in Gloucester in January.