Former congressman Justin Amash faced mockery on Twitter Wednesday for suggesting that he should be voted House speaker as a compromise amid Rep-elect Kevin McCarthy's, R-Calif., struggles to secure the leadership position.

 "Former Rep. Justin Amash (R-Mich.) is standing just outside the Speaker’s Lobby telling reporters that he’s willing and interested in serving as a compromise Speaker," Alex Bolton, a staff writer for The Hill, reported. 

Amash, who was first elected in 2010, was at the Capitol as the House still debated and voted on who should be speaker. Republicans control a slim five-seat majority in the lower chamber, which has left McCarthy struggling to get the 218 votes needed to become speaker. After six failed votes, McCarthy and his allies are negotiating with the 20 Republican holdouts. 

However, there is discussion about the possibility of moderate Republicans joining Democrats to nominate and vote for a moderate Republican as speaker. Amash, the former Republican turned Independent turned Libertarian, threw his name out as a possibility. 

CONSERVATIVE HEAVYWEIGHTS CALL FOR NEW HOUSE GOP LEADERSHIP AFTER MCCARTHY FAILED TO CLINCH HOUSE SPEAKER

Kat Cammack

U.S. Rep.-elect Kat Cammack (R-FL) speaks alongside Rep.-elect Steve Scalise (R-LA) in the House Chamber during the second day of elections for Speaker of the House at the U.S. Capitol Building on January 04, 2023 in Washington, DC.  ((Photo by Win McNamee/Getty Images))

Sarah Ferris, a congressional reporter for Politico, tweeted "Ok now we've seen it all folks Former Justin Amash is here outside House chamber pitching a different kind of speaker candidate: himself 'I'm here in case they want that as a possibility.'"

"To that end, I am on standby if Bill Gates needs someone to inherit his wealth," conservative author Eddie Scarry replied. 

"Amash is the definition of a jabroni," Greg Price, a political strategist, tweeted.

"Me pitching myself as the next boyfriend for Ana de Armas," podcast producer Isaac Lee joked. 

Former Obama senior advisor David Pfeiffer shared a gif with the text "What about me?" 

BYRON RENOLDS ADDRESSES HOUSE SPEAKER NOMINATION: REPUBLICAN VOTERS ARE ‘NOT HAPPY’ WITH PARTY LEADERSHIP

Former lawmaker Justin Amash takes questions during a town hall event in Grand Rapids, Michigan, U.S., on Tuesday, May 28, 2019. 

Former lawmaker Justin Amash takes questions during a town hall event in Grand Rapids, Michigan, U.S., on Tuesday, May 28, 2019.  ( Jeff Kowalsky/Bloomberg via Getty Images)

However, Amash did receive some praise from fellow Libertarians, 

Bekah Congdon, managing editor of Cato Institute, tweeted "With our country facing so many challenges, we need a #Speakerofthehouse who can heal divisions. @JustinAmash is the perfect candidate for this role. He is a thoughtful, even-handed leader who is respected across party lines for his integrity and dedication to principle."

Ryan Graham, political director of the Libertarian Party of Georgia, tweeted "Justin Amash for Speaker of the House!"

Then-Rep. Justin Amash sits at a House Oversight and Reform National Security subcommittee hearing. 

Then-Rep. Justin Amash sits at a House Oversight and Reform National Security subcommittee hearing.  (AP Photo/Carolyn Kaster)

CLICK TO GET THE FOX NEWS APP

Amash left the Republican Party during the Trump administration and voted to impeach Trump during the first impeachment trial. 

McCarthy lost his sixth vote for House speaker Wednesday evening. A group of conservative populist Republicans including Rep. Matt Gaetz, Fla., and Rep. Lauren Boebert, Colo., among others have said they will not support McCarthy.