Prosecutors say a computer savvy drug dealer with customers spanning the globe was sentenced to 15 years in prison in Sacramento.  

A federal judge issued the sentence against Shiraz Malik, a Pakistani national based in Poland, Thursday.

Prosecutors say Malik sold pharmaceuticals and highly regulated chemicals, including ephedrine, to customers in the United States, Europe, Mexico, and other countries between June 2008 and September 2011.

Ephedrine is a precursor chemical used to manufacture methamphetamine. Malik allegedly used the Internet to take orders from around the world.