WASHINGTON — Herman Cain, President Donald Trump’s planned nominee for the Federal Reserve, withdrew from consideration on Monday, a recognition that too many Senate Republicans had announced they would vote against him.

Trump made the announcement on Twitter, writing, “My friend Herman Cain, a truly wonderful man, has asked me not to nominate him for a seat on the Federal Reserve Board. I will respect his wishes. Herman is a great American who truly loves our Country!”

Despite the setback, Trump is not planning to back away from his plan to name allies to the two remaining openings on the Fed, according to a person familiar with the situation who spoke on condition of anonymity because they were not authorized to speak publicly.

Cain’s withdrawal is a setback in Trump’s effort to install political allies on the Fed board, part of a broader tug-of-war between the central bank’s leaders and the President over the Fed’s stewardship of the economy.

Cain called the White House Monday morning to say he didn’t want to be considered for the position anymore, according to the person. Cain expressed concerned about having to take a pay cut — Fed governors are paid $183,100 a year — and that he would not be as free to speak publicly as he does on his radio show.

Before the holiday weekend, Cain had insisted that he would continue to vie for the role, saying it was “not in my DNA” to drop out.

The White House is considering a number of other candidates to fill the final opening on the seven-member Fed board. While Fed and White House leaders continue to speak on a regular basis, as is typical, the Fed is no longer being consulted on nominations, according to two people familiar with the matter.

Cain would have needed near-unanimous Republican backing in the Senate for confirmation. But four Republicans have said they would not vote for the nominee, effectively killing his chances since Republicans hold 53 seats in the Senate and no Democrats were expected to support him.

With Cain out, the focus now shifts to Stephen Moore, Trump’s other planned nominee for the Fed board who was an adviser to the President’s campaign and a prominent supporter of the President’s.

Democratic leaders see Moore as an equally problematic and unqualified nominee, but Republicans remain open to Moore with no one saying they would vote against him so far.

“Herman Cain was woefully unqualified to be on the Federal Reserve and his failure to garner adequate support should not be used as a pathway by Senate Republicans to approve Stephen Moore, who is equally unqualified, and perhaps more political,” said Senate Minority Leader Chuck Schumer, D-N.Y., in a statement Monday. “Mr. Moore, like Mr. Cain, poses a danger to the economic stability of our country.”

Moore has not been formally nominated by the White House yet as he is still going through the vetting process. The White House continues to advocate for Moore.

“We back Moore wholeheartedly,” said Larry Kudlow, Trump’s to economic adviser.

Trump was irate after the Fed raised interest rates multiple times in 2018, hikes that wound down the central bank’s decade-long effort to boost economic growth and fight unemployment after the Great Recession. The increases were aimed at guarding against future inflation and preserving the Fed’s ability to fight a future downturn, but Trump accused the central bank of unnecessarily constraining growth and triggering the stock market sell-off late last year.

Cain and Moore said they support lowering interest rates, a move that would boost growth in the run up to the President’s reelection campaign.

Fed Chair Jerome Powell has said the bank has no plans to raise rates again this year, citing some uncertainty about the pace of future growth.

Some lawmakers, economists and Wall Street investors questioned Cain’s qualifications for the central bank and noted the multiple allegations of sexual harassment and misconduct that derailed his campaign. Cain has denied the allegations, casting them as old news, but one of the accusers said she would testify at his confirmation hearing if given the chance.

Many also had concerns that the nomination of a close political ally of the President who has raised hundreds of thousands of dollars for Trump and lashed out at Trump’s critics would threaten the bank’s independence.

Typically nominees undergo an extensive vetting process before the President announces them, but Trump appears to have announced Cain as his planned nominee without fully coordinating with GOP leaders.

That approach appeared to come up short when Sen. Kevin Cramer of North Dakota on April 11 joined three other Republicans — Sens. Mitt Romney of Utah, Lisa Murkowski of Alaska and Cory Gardner of Colorado — in announcing opposition to Cain’s nomination.

“I don’t think Herman Cain would be confirmed by the Senate, and I think the President would be wise to find someone who is less partisan and more experienced in the world of economics,” Romney said in explaining why he did not support the nominee.

Cain has taken an adversarial stance against some GOP incumbents. The chairman of Cain’s “America Fighting Back PAC” in March sent an email saying 12 GOP senators — including Romney and Murkowski — were “traitors” for voting against Trump’s declaration of a national emergency at the southern border.

He also said the Senate Banking Committee, which would have handled his nomination, was full of “yahoos.”

As for Moore, Democratic Senator and presidential candidate Elizabeth Warren (Mass.) sent him a scathing letter this month accusing him lacking a good grasp on “basic mathematical and economic concepts.” The letter included nine questions for Moore that attempt to clarify whether he still holds some of his more iconoclastic views.

In a CNN appearance, Moore claimed he had never been in favor of the gold standard, where every dollar is backed by some gold. But the network proceeded to play clips from three different speeches where Moore clearly supported the policy, which Cain also endorses.

Moore also called for interest rates to rise in the midst of the financial crisis, a policy that many believe would have caused the country more harm. Moore started calling for a cut in interest rates once Trump took office. Recently, Moore has said there is deflation in the United States, even though government statistics and the White House Council of Economic Advisers all say inflation is rising at about 2 percent a year.

Moore has faced similar criticisms about past personal issues, including his failure to pay his ex-wife child support and alimony in 2013 and his views about males and females playing sports together.

This is not the first time Trump has opted to first publicize a pick before a full vetting is complete. Trump named Rear Adm. Ronny Jackson, the presidential physician, to be secretary of Veteran Affairs last year only to watch the nomination fall apart as allegations of misconduct surfaced. His original choice for Labor Secretary, Andrew Puzder, also had to withdraw after it surfaced that he had an undocumented housekeeper.

In the 1990s, Cain served on the Federal Reserve Bank of Kansas City’s board of directors, a group of business and community leaders who advise the head of the Kansas City Fed on how the economy is doing. The Fed board has often had business leaders on its board in addition to PhD economists and Wall Street bankers, but Cain’s views are seen as outside the mainstream.

Cain has supported controversial ideas such as a return to the gold standard system the United States abandoned nearly a half-century ago. The system would have made it almost impossible for the central bank to undertake many of the rescue measures it did during and after the 2008-2009 financial crisis.

“Trump’s other nominees for the Fed were eminently qualified people, but all of a sudden Trump has gone off the rails with Stephen Moore and Herman Cain,” said Robert Brusca, chief economist at consulting firm Fact and Opinion Economics.

A number of Republicans, however, have expressed interest in having a wider variety of views on the Fed board such as those of Moore, who has been a big proponent of tax cuts.

Ron Paul, a former Republican congressman from Texas and presidential candidate, called Cain and Moore a “basic improvement” over many of the people who have served in the Fed in recent years.

“It’s a good idea to have Cain and Moore at the Fed. They at least have knowledge and respect for a different way of doing things,” said Paul, a libertarian and vocal advocate for a return to the gold standard.

The Fed plays a large role in steering the economy and overseeing banks. The central bank is tasked with making the best long-term decisions for the economy, steering clear of political calls to make short-term moves that favor certain constituencies.

“We are an organization devoted to public service. We are professional. We make decision based on facts and evidence and analysis and we stay out of politics,” said former Fed chair Janet Yellen at a forum at the Dallas Fed. “Nothing we do is political.”