Florida Representative Cory Mills has been ousted from office following a decisive loss in Tuesday’s primary election, marking the end of his campaign after months of mounting scandals and investigations.

Mills, who secured President Donald Trump’s endorsement earlier this year, was defeated by former news anchor Ryan Elijah in Florida’s 7th congressional district. With more than 80% of votes counted, Elijah captured 46% of the Republican primary vote to Mills’ 34%.

The defeat comes amid a series of investigations into Mills, including a House Ethics Committee probe into allegations of sexual misconduct and campaign finance violations, as well as a Justice Department investigation related to his finances. Mills has consistently denied wrongdoing.

Mills is now the second House Republican in recent months to lose a primary despite having President Trump’s support. He joins Rep. Andy Ogles of Tennessee among a small number of GOP candidates who lost their primaries even with the president’s endorsement.

This loss makes Mills the 11th member of the U.S. House of Representatives to be defeated in a primary this year, an unusually high number for a single election cycle. His ex-girlfriend recently filed for a restraining order against him, further contributing to the controversy surrounding the representative.

Mills had held a significant lead in polling before the primary and was widely expected to win. However, the combined effect of ongoing investigations and public backlash led to his defeat.

Rep. Nancy Mace of South Carolina initially led efforts to censure Mills but later backed off from pushing for his expulsion, ultimately endorsing Elijah’s candidacy.

After the election, President Trump publicly stated that he had urged Mills to drop out of the race but that Mills refused. Trump subsequently endorsed Elijah, declaring him a “great candidate” who represents “everything MAGA.”