An Oklahoma woman who tied the knot with her mom pleaded guilty to committing incest.

Misty Spann, 26, was sentenced Tuesday to 10 years in prison — the maximum penalty — for the marriage to her biological mother, Tulsa World reported.

The defendant, who is from Duncan, was set to stand trial but instead entered a guilty plea Tuesday for last year’s nuptials to mom Patricia Ann Spann.

Misty was raised by her grandmother after her 44-year-old mother lost custody of her three kids.

Her mom told authorities that the pair reconnected in 2014 and “hit it off.”

In March 2016, the mother-daughter duo took their taboo relationship to the next level and got hitched, according to a marriage license application.

Patricia Spann said that she didn’t think the nuptials broke any laws because she was no longer listed as a parent on her daughter’s birth certificate.

Their incestuous marriage was discovered by authorities during a child welfare investigation, the Associated Press reported.

This was not the first marriage for Patricia.

She also was married to her biological son in 2008 in Comanche County, according to Tulsa World. The marriage was annulled 15 months later after the son said it was incestuous.

Patricia also was charged with incest in the case and is scheduled to appear in court in January.