Bauhaus star Peter Murphy has been placed on three years of probation after pleading guilty to methamphetamine possession.

RELATED: Celeb mug shots

The singer was arrested for his part in a hit-and-run accident in Glendale, Calif., in March, when police reportedly found methamphetamine inside the patrol car in which Murphy was detained.

The goth rocker previously pleaded not guilty to three charges, but in a Los Angeles court, he agreed to change his plea after striking a deal with prosecutors, who agreed to drop a misdemeanor charge of driving under the influence of drugs in return.

RELATED: Embarrassing celebrity arrests

Murphy's drug charge will be axed and completely removed from his criminal record if he successfully completes 45 days of Narcotics Anonymous meetings. He also agreed to three random drug tests.

RELATED: Actor Craig Robinson busted in minor Bahamas arrest

Murphy, who lives in Turkey, was ordered to return to court in May to prove he has completed the program. He must also complete 10 days of community service for the hit-and-run charge. Murphy is currently touring to celebrate the 35th anniversary of Bauhaus.