A Utah lawmaker who voted for tougher penalties for prostitution has resigned amid allegations that he used taxpayer dough to pay for hotel rooms to hook up with an online escort, according to reports.

The DailyMail.com quoted call girl Brie Taylor saying former GOP Rep. Jon Stanard paid her $250 for sex twice at the Fairfield Inn in Salt Lake City.

In one exchange from November, Stanard asks Taylor if she could bring any “accessories” or “toys” — perhaps a “corset,” according to the news outlet.

Taylor claimed he paid her $250 for each of the one-hour sessions in June and August 2017 during which she said she performed oral sex on him and that they had intercourse, the news site reported.

House chief of staff Greg Hartley told the Associated Press that the married Stanard — who resigned Tuesday night — was reimbursed for two hotel stays while he was attending legislative meetings at the state capital.

The dates and hotel names correspond with text messages reported by DailyMail.com.

“It looks like they were legislative days,” GOP House Speaker Greg Hughes said.

Hughes said he didn’t yet know if the House would ask Stanard to return the money, adding that officials had not had any contact from Stanard.

“If there has been an abuse of public funds or if public funds were used in a way that’s inappropriate, we would,” he said. “I don’t have solid answers for those things. I would need to have a way that I would know conclusively that that is the case.”

It was unclear if the House would be able to check whether Stanard used a state-issued cellphone to text Taylor, 39, because someone electronically wiped the phone, which no longer contains the messages.

The conservative pol, 43, who was elected to the Utah House of Representatives in 2012, has three children with his wife, LeeAnne.

Last year, he voted in favor of stricter laws on prostitution, including hiking the penalty for soliciting sex to $2,500.

“I am a strong advocate for conservative family values. I am pro-life, as well as for traditional marriage,” Stanard says on his website.

Stanard’s attorney Walter Bugden told the DailyMail.com: “Given the current climate in this country with misconduct allegations and the way things are happening in the media right now, there isn’t any explanation that my client could give that would overcome the shadow of these allegations.

“He has resigned his office.”

Stanard told the AP that he stepped down to spend time with his father, who has terminal cancer.

Taylor — a mom of a 10-year-old boy — claimed that Stanard first approached her on March 7, 2017.

“Looking at your website. Can you meet?” he allegedly wrote, according to the Daily Mail.

In another text, he added: “Would need to be tonight. Only in town a little. Anytime. Can do in or out. At hotel in downtown SL.”

They exchanged several messages, but Taylor was unavailable because her son was sick. He texted her again the following month but she was again unavailable, according to the outlet.

The two met for the first time at the Fairfield Inn by Marriott in downtown Salt Lake City on June 20, 2017, the site reported.

“I already knew who he was because I screen all my clients using a phone number service and I Googled him,” Taylor told the South West News Service. “I was surprised that he was using his real phone number. I thought that was kind of stupid but I knew he wasn’t a psycho so I met him.”

She described Stanard as a “gentleman.”

“We chatted just briefly and then I got changed out of what I was wearing into lingerie. Then the adult stuff started to happen,” she said, adding that they engaged in vaginal and anal intercourse.

“It was a one-hour session and it went pretty quickly, then the rest of it was chatting,” she added. “He said he never does this sort of stuff in St. George because it is really culturally strict down there.”

Taylor said Stanard returned on a business trip later that summer and they met at the same hotel on Aug. 22.

“He doesn’t drink so we didn’t do anything like that but during that session they were trying to pass medical marijuana so we talked about that,” she said.

Other screenshots also appear to show messages sent from Stanard’s phone in November, when he asked about the sex toys.

“Are u only here for 1 night? My sitter is not able to make tonight. If u r available tomorrow at all I can discount my hour to $200,” she replied, according to the exchange, but he allegedly replied that he could not.

In March 2017, Stanard voted in favor of a bill that saw the crime of soliciting a prostitute reclassified from a class B misdemeanor to a class A.

Taylor described his political stance as “hypocritical.”

“It was inevitable that he had to resign,” she told the site. “People here will be grossed out and appalled by this. They thought they knew him. I was surprised when I found out that he voted in favor of stricter laws.”

With Post Wires