Rep. Scott RigellScott RigellSpanberger's GOP challenger raises over .8 million in third quarter Ex-Rep. Scott Taylor to seek old Virginia seat GOP rushes to embrace Trump MORE (R-Va.), who is backing Libertarian Party presidential nominee Gary JohnsonGary Earl JohnsonNew Mexico lawmakers send recreational marijuana bills to governor Judge throws out murder convictions, releases men jailed for 24 years On The Trail: Making sense of Super Poll Sunday MORE over GOP nominee Donald TrumpDonald TrumpHead of firms that pushed 'Italygate' theory falsely claimed VA mansion was her home: report Centrists gain foothold in infrastructure talks; cyber attacks at center of Biden-Putin meeting VA moving to cover gender affirmation surgery through department health care MORE, is resigning from the Republican Party of Virginia Beach after local officials considered removing him.

ADVERTISEMENT

“The wheels were in motion to remove me, so I thought it best to resign,” Rigell told a local TV station on Monday.

“I understand and respect the party’s bylaws and how they apply to me,” he said.

Rigell, who is retiring at the end of his term, last week became the first member of Congress to support Johnson, saying Americans are in desperate need of a third presidential option.

“My conscious directed me to a different candidate after a long and deliberative process, and this is a consequence of that decision,” he said at the time. “I think the American people are desperate for a third alternative.”

Rigell told MSNBC on Tuesday that Trump is a "true risk" to the U.S.

"I [support Johnson], because the nominee from our party, the Republican nominee ... is so lacking in judgment and in character that I think he really represents a true risk to our country. And I cannot in good conscience support him."

Despite his opposition to Trump, Rigell maintained that Democratic presidential nominee Hillary ClintonHillary Diane Rodham ClintonWhite House denies pausing military aid package to Ukraine Monica Lewinsky responds to viral HBO intern's mistake: 'It gets better' Virginia governor's race poses crucial test for GOP MORE is also unqualified to be president.

"The Democratic alternative is equally unworthy of walking into the Oval Office and being called 'Madam President,' " he said.