Elon Musk sells $7B in Tesla shares ahead of Twitter fight

File: Tesla CEO Elon Musk waves as he attends the start of the production at Tesla's "Gigafactory" on March 22, 2022 in Gruenheide, southeast of Berlin. (Photo by PATRICK PLEUL/POOL/AFP via Getty Images)

Elon Musk has sold nearly $7 billion worth of shares in Tesla as the billionaire gets his finances in order ahead of his court battle with Twitter.

Musk disclosed in series of regulatory filings that he unloaded about 8 million shares of his company Tesla Inc. in recent days.

"In the (hopefully unlikely) event that Twitter forces this deal to close and some equity partners don’t come through, it is important to avoid an emergency sale of Tesla stock," Musk tweeted late Tuesday.

Musk is by far the largest individual shareholder in both Tesla and Twitter.

Shares of Tesla rose almost 2% before the opening bell Wednesday. Shares of Twitter Inc., up 16% in the past month with most believing Musk faces long-shot odds of success in court, jumped another 3%.

Musk countersued Twitter last week, accusing the company of fraud over his aborted $44 billion acquisition. He claimed that Twitter held back critical information and misled his team about the size of its user base.

PREVIOUS: Elon Musk responds: Countersuit accuses Twitter of fraud

Musk alleges that Twitter committed fraud, breach of contract and violation of a securities law in Texas, where Musk lives.

Musk offered to buy Twitter earlier this year, then tried to back out of the deal claiming the social platform was infested with a larger numbers of "spam bots" and fake accounts than Twitter had disclosed.

Musk said in the spring that he planned no major sales of his stake in Tesla after lining up financing to acquire Twitter, but Dan Ives, an industry analysts with Wedbush, said Wednesday that "the situation has dramatically changed."

PREVIOUS: Elon Musk says Twitter deal should move forward with more 'bot' info

Wedbush raised it's target price for shares of Twitter, "With the chances of a Twitter deal now more likely in our opinion and the Street seeing through this poker move by Musk," Ives wrote to clients.

"We can also see Musk trying to resolve this powder keg situation before the Twitter deal officially heads to court in October," Ives wrote. "At a minimum, we see Twitter getting a massive settlement from Musk in the $5 billion to $10 billion range that is starting to be factored into the stock."

BusinessElon MuskSocial MediaBusinessElon MuskSocial Media