DURHAM, N.C. (CBS Local) – Using a rare state law, a North Carolina husband has been awarded nearly $9 million after suing the man who allegedly had an affair with his wife.

A Durham County judge sided with Keith King after the local businessman claimed Francisco Huizar seduced his wife and ruined his marriage. North Carolina is one of the only states in the U.S. where a spouse can sue someone who has sex with their partner before the end of the marriage.

READ MORE: Doctors Seeing More Neck, Back Pain Related To Working From Home

The lawsuit accused Huizar of criminal conversation, alienation of affection, intentional infliction of emotional distress, negligent infliction of emotional distress, and assault and battery. King married his wife Danielle in 2010 and claims the affair not only ruined the couple’s marriage, but also damaged King’s BMX bike stunt show company, where Danielle was an employee.

READ MORE: Harrison School District Taking Action To Bring All Students Back Into Classrooms Full Time In Coming Weeks

Judge Orlando Hudson awarded the husband $2.2 million in compensatory damages and $6.6 million in punitive damages from Francisco Huizar. Danielle King’s lover is reportedly appealing the decision.

MORE NEWS: Blackface Costume Controversy Hits N.J. Town Of Lakewood

Judge Hudson called the King’s lawsuit “a textbook case” of how not to end a marriage in North Carolina, according to The Herald-Sun.