Pornhub star Lynn Pleasant could face up to 10 years in prison for paying a “hitman” $4,875 to murder her son’s father.

The 31-year-old’s plot was revealed when the hitman she paid turned out to be an undercover police officer.

The adult film star, whose real name is Katrina L. Dartford, pleaded guilty on Monday and now faces up to 10 years in prison for five separate charges.

Court records show she allegedly made calls offering people money to kill the victim known only as R.H. on Oct. 20, Nov. 9, twice on Nov. 10 and once on Nov. 19.

Her friend then gave her a number of a so-called hitman, whom she agreed to meet in October 2018.

On Nov. 10, 2018, Danforth mailed a thank you card with $2,500 in it from Idaho to the hitman’s address in Montana, The Spokesman Review reported.

“This money was the down payment for the hit with the remaining $2,500 to be paid after RH was murdered,” Prosecutor Traci Whelan said.

A court document read: “At the meeting, she agreed to pay $5,000 in exchange for the murder.”

It also noted that Pleasant had specific requirements for the hitman, including, “R.H’s body had to be found and [she] did not care if others who lived in the home were harmed as long as her own child was not harmed.”

The intended victim was not harmed and has not been named for safety reasons.

She was arrested at Spokane International Airport in Washington on Dec. 19 after spending the last eight days in Hawaii and has been handed a $304,700 fine.

According to her Twitter page, the porn star won the best part-time amateur model gong at the Adult Webcam Awards in 2015.

She is understood to have appeared in adult films from 2005 and regularly posts about her work online.