A judge has awarded a North Carolina man nearly $9 million from a man who had an affair with his wife.

Keith King, 48, who runs BMX Stunt Shows sued his wife's lover and was just awarded $8.8 million from the judge after citing an obscure law.

"To me that was the most important thing, the most sacred thing — my family," he said. "Every time he knew I was out of town, he would come into town."

North Carolina is one of only six states that allows a jilted spouse to sue for "alienation of affection."

King claimed his marriage to his wife Danielle, 33, was in great shape until his her boyfriend came along and ruined everything.

The husband said he found out his wife was cheating on him with Francisco Huizar in 2015 after viewing phone records.

"I called him from her phone and I said, 'She's a married woman, leave her alone. Don't you ever contact her again,'" King told Inside Edition.

He says the affair continued for months in secret. Then last year, she moved out of their home. Soon after, he went to her new apartment and was shocked to find the lover there.

"She’s my wife man — she’s my wife!" King says in footage of the confrontation.

"I felt like I just witnessed her die," he said of confronting her lover.

Danielle claims King was a control freak who made her dye her hair blonde and work without pay, but he calls her claims "100 percent false."

King says he considers the $8.8 million dollar award to be a hollow victory because he’d give anything to have his old life back.

"There isn't a dollar amount that you can put on it for what I think my family's worth," he said.

Huizar says he plans to appeal.

RELATED STORIES

Stormy Daniels Divorce: Estranged Husband Claims She’s Putting Daughter in Danger

Scarlett Johansson Denies 'Auditioning' to Be Tom Cruise's Girlfriend

Brad Pitt Blames Himself for Angelina Divorce in New Interview: 'I Was Boozing Too Much'