A man who sold CD cleaner used as a party drug over the Internet has been ordered to work for the community.
James McNee has been sentenced to 250 hours community work for selling One4b after a case brought by health officials.
One4b has been linked to at least one death.
The Ministry of Health charged McNee under the Food Act, in a test case to clamp down on the distribution of chemicals for recreational use.
The 29-year-old pleaded guilty to the charges last month.
He was originally to be tried in the Timaru District Court on 16 charges, but 14 of those were dropped.
McNee was not commenting on Wednesday but he acknowledged last year that taking One4b can be risky.
Those dangers include seizures, loss of consciousness and even death.
Police and the Ministry of Health raided McNee's Timaru house twice, seizing computers, business records and cartons of One4b.
At the time, the chemical also known as puritech or audio clear was sold over the internet as a CD cleaner, but was advertised alongside other products that were marketed as "legal highs".
The Ministry of Health saying McNee's sentence serves as a warning.
"This case has set a precedent for the ministry as it deals with emerging trends in sale of substances that may impact on public health... faced with this situation again (we would) respond in a similar manner," the ministry said in a statement.
In sentencing McNee the judge said it would serve as a valuable lesson to anyone pushing the limits of the law.
At the time McNee was charged, One4b was not illegal, so the Ministry of Health laid the charges under the Food Act. Since then the law has been tightened.
One4b and other fantasy drugs are now class B controlled drugs, making it illegal to supply or possess them.
When ONE News checked McNee's website on Wednesday, there was no sign that he was still using it to sell the product.