NEW YORK (TheStreet) -- Wall Street is taking over the White House, maybe.

In a series of tweets Friday afternoon, investor Carl Icahn announced he would accept Republican candidate Donald Trump's offer to be Secretary of the Treasury if Trump were to secure the nomination.

Icahn is a well-known activist investor, whose fund reported yesterday an 8.2% stake in Cheniere Energy (LNG) - Get Report, a Houston-based natural gas company. After Icahn's fund reported its holdings, shares of Cheniere jumped more than 8%.

Trump had previously offered Icahn the position during an appearance on MSNBC's "The Morning Joe."

Icahn originally rejected Trump's offer to join his cabinet, saying in a blog post "I am flattered but do not get up early enough in the morning to accept this opportunity."

"I personally believe we are sailing in dangerous unchartered waters," Icahn wrote in the June 19 post. "I can only hope we get to shore safely. Never in the history of the Federal Reserve have interest rates been artificially held down for so long at the extremely low rates existing today. I applaud Donald for speaking out on this issue - more people should."

Icahn said his change of heart came after watching Trump's performance in last night's Republican debate on FOX News. Here's what he had to say:

Trump's quest for the Oval Office has been criticized since the real estate mogul announced his intentions in June. His incendiary comments on illegal immigration have caused a firestorm of debate and backlash.

But despite his critics, Trump is leading in the majority of the polls, garnering 19% of Republican voters support in the latest Wall Street Journal/NBC poll. He also leads the polls in among voters as to who won last night's debate, getting support from 44.9% of voters, according to the Drudge Report.