Herman Cain is no longer a candidate for the Federal Reserve Board, according to a tweet from President Trump. The news comes after the chief executive had said he was considering the businessman, but that subsequently ran into past allegations of sexual harassment.

Trump first spoke of nominating Cain weeks ago, referring to him as “a very terrific man, a terrific person” that he recommended “highly for the Fed.”

READ MORE: Herman Cain says Trump is no racist, because apparently he knows best

“I’ve told my folks that that’s the man,” Trump said at the time, adding that “I would imagine he would be in great shape” in clearing a background check, according to NBC News.

But Cain, who ran the Godfather’s Pizza chain for a decade in the 1980s and 1990s, suffered poor support in the Senate.

Republican senators Kevin Cramer of North Dakota, Lisa Murkowski of Alaska, Mitt Romney of Utah and Cory Gardner of Colorado said they didn’t support Cain’s nomination, which was significant because if the 47 Democrats each voted against his nomination, Cain would fail to garner the needed votes for confirmation.

Cain ran for president as a Republican in 2012, but ended his campaign abruptly after several women came forth with allegations that he sexually harassed them. Cain vehemently denied the allegations during that time and Trump, a friend of Cain’s, also said they reeked of an “unfair witch hunt.”

Cain seemed to realize his Federal Reserve Board nomination was in jeopardy because of the earlier allegations. This month, Cain posted a video to Facebook implying that he likely wouldn’t be confirmed.

READ MORE: Herman Cain defends Ben Carson — ‘They did the same thing to me’

“You better believe that the people who hate me, who do not like conservatism … are already digging up the negative stuff that are in stories from eight years ago,” Cain wrote in the post.

Still, the White House persisted.

In a “Fox News Sunday” interview earlier this month, acting White House chief of staff Mick Mulvaney said Cain’s nomination was fine and that he “would be a great member of the Fed.”

And last week, Cain told The Wall Street Journal that he wasn’t withdrawing his name.

The move by Cain to remove his name occurred while Trump’s most recent Federal Reserve nominee, Stephen Moore, has faced his own allegations of owing back taxes and failing to make alimony payments to his ex-wife.