Joe Barton said he thinks he would win another term, but the campaign would be "difficult" for his family.

Republican Congressman Joe Barton announced he would not seek reelection after a lewd image of him and sexually explicit messages he’s sent in the past were made public.

The Texas politician on Thursday told the Dallas Morning News of his intentions to retire, only a few weeks after he revealed he planned to seek an 18th term.

Barton has publicly apologized for what he has said were consensual relationships with multiple women while he separated from his former wife, Terri. Their marriage ended in 2015.

“I’ve always listened to people in Texas and worked for them in Washington, and I’ve been listening to a lot of people the last week in Texas,” he told the Morning News. “There are enough people who lost faith in me that it’s time to step aside and let there be a new voice for the 6th district in Washington, so I am not going to run for reelection.”

Still, the 68-year-old congressman believes he’d come out the victor if he did decide to run again, “but it would be a nasty campaign, a difficult campaign for my family.”

Local officials and politicians have called for his resignation amid the personal scandal, but it was his son who convinced him in the end.

He said his 12-year-old, Jack, told him: “Well you’ve done a lot of good. You have a good record, you don’t need to keep on running to prove that.”

Barton, who was first elected to Congress in 1984, last week was forced to apologize after a graphic image of him was made public. He said he did not release the image and claimed he was the victim of a “potential crime.”

He admitted he shared the image with several women — a handful of whom have come forward to share their experiences with Barton.

An unidentified woman told the Washington Post Wednesday Barton sent her a series of illicit photos, videos and texts after they had sex several years go.

Arlington resident Kelly Canon told the Star-Telegram she chatted with Barton over Facebook in 2012 and 2013 — usually about politics. There were occasions however when Barton “took it a step too far,” she claimed, alleging the Republican seemed “fascinated with my attire to the point of being inappropriate.”

Barton emphasized all the relationships he engaged in were consensual.