Duck pajamas, a goofy grin and his arm slung around a lingerie model was just the start. The end for Rep. Blake Farenthold resulted from accusations from staffers — male and female — of sexual harassment and verbal abuse.

The Texas Republican abruptly announced Friday he would resign from Congress after former staffers accused him of sexual harassment and creating a hostile, sexually charged work environment. “I know in my heart it's time for me to move along,” he said in a statement Friday.

He had said in December he would not seek reelection. Farenthold was under a House Ethics Committee investigation for his behavior involving a former communications staffer, with whom he settled a sexual harassment complaint in 2014.

Republicans had tried for months to push him out. Now, he's going.

Farenthold is no stranger to sex-related scandals, and he's long been a thorn in the side of Republican leadership for it. But, remarkably, he has stayed in Congress for the past seven years. It took the nation's current reckoning with sexual misconduct to bring him down. Here are the other sexual scandals that Farenthold has survived:

2010: A pajama party

In 2010, as Farenthold was first running for Congress, a photo surfaced of him wearing pajamas printed with blue and yellow ducks, his arm around a blond woman wearing lingerie and a grin on his face. The picture was from a costume party held roughly a year before the election. At the time, he was a conservative radio host about to challenge a sitting Democrat.

Farenthold's Democratic opponent immediately used the photo in an ad: “Your next congressman?” it asked incredulously. But Farenthold's opponent may have made a misstep: He mischaracterized the photo as an “S&M party.” (It was a fundraiser for a friend of Farenthold's, according to the Houston Chronicle.)

In the end, the photo may have helped raise Farenthold's profile. He won the Corpus Christi-area district by 799 votes, one of the most surprising wins of a very good year for Republicans, and he hasn't had a close election since.

2014: A lewd Web domain

Rep. Blake Farenthold (R-Tex.) will retire. (Joshua Roberts/Reuters)

In 2014, BuzzFeed discovered that a website address referencing a sexual act was “registered to Republican Texas Rep. Blake Farenthold, according to an Internet registration page.”

His office said it was just one of many websites Farenthold snatched up when he owned a Web-design consulting firm, but it gave no explanation for why a company would need to register something like this.

“The domain name has never been used, and Mr. Farenthold has no intention to renew it,” his office said.

2014: ‘Sexual fantasies’ and ‘red head patrol’

Just a couple of days after the website came to light, a fired former communications director in Farenthold's office sued him, accusing him of sexual harassment. In the lawsuit, she shared some explicit comments that she says the congressman repeatedly made to her.

From The Washington Post's write-up of that lawsuit:

[Lauren Greene alleged the congressman] “regularly drank to excess, and because of his tendency to flirt, the staffers who accompanied him to Capitol Hill functions would joke that they had to be on ‘red head patrol’ to keep him out of trouble.”

She also says that Farenthold seemed to avoid her at work, which she brought up with his executive assistant, Emily Wilkes. Greene alleges that Wilkes told her “that Farenthold had admitted to being attracted to plaintiff and to having ‘sexual fantasies’ and ‘wet dreams’ about plaintiff.”

Farenthold denied the allegations in an interview with the Houston Chronicle. “I was surprised,” he said. “I didn't imagine us having any problems in the office. And the things she alleges are just so far out in left field. I'm just stunned.”

He ended up settling with Greene for $84,000, money that we later was found to have come from a secret taxpayer fund for these sorts of allegations. The House's quasi-independent Ethics Committee investigated the allegations, too, but found they were unsubstantiated.

Three years later, with the #MeToo movement being celebrated on the covers of magazines, Farenthold was singled out as one of the members of Congress whose taxpayer money went to settle a sexual harassment complaint.

Farenthold said he would be reimbursing taxpayers for that money. “I didn't do anything wrong,” he told, the local Texas television station's website.

But his problems weren't over.

2015: Allegedly calls his aides crude names and comments on their sex lives

Farenthold arrives for a Republican conference meeting in December 2017 on Capitol Hill. (Aaron P. Bernstein/Reuters)

On Wednesday night, the end came for Farenthold. CNN reported that former staffer Michael Rekola told the House Ethics Committee that Farenthold had verbally abused and said sexually demeaning things to him.

Rekola and other staffers also told CNN that Farenthold was prone to outbursts, pounding his fists on the table and berating his staff with obscenities.

Farenthold didn't deny making those comments, but he tried to downplay them — as he often had every time a scandal came up — as something done “in jest.”

Twelve hours later, Farenthold announced his retirement. GOP leaders didn't seem too torn up about it.