A man in Lund, Sweden was convicted on Friday of spreading HIV to a sexual partner and was ordered to pay more than $90,000 in damages.
The unidentified man, 27, was convicted of damaging another person's health. Prosecutors originally charged him with aggravated assault, but the court found him guilty of the lesser charge.
More from GlobalPost: Five interesting ways people are fighting HIV around the world
He will have to pay the damages to the plaintiff and was also ordered to perform 240 hours of community service, which is the equivalent of one year in prison.
The plaintiff, also male, adequately proved he was infected by the defendant during a one-night stand after the two met online.
It is against the law in Sweden not to tell a partner about being infected with HIV before sexual activity. Doctors must also report cases of suspected lack of compliance to the police.
Any sexual partner that is subjected to risk can report it as aggravated assault to the prosecutor's office.