Elon Musk has bought almost $7 billion value of shares in Tesla because the billionaire will get his funds so as forward of his court docket battle with Twitter.

Musk disclosed in sequence of regulatory filings that he unloaded about 8 million shares of his firm Tesla Inc. in latest days.

“Within the (hopefully unlikely) occasion that Twitter forces this deal to shut and a few fairness companions do not come by means of, you will need to keep away from an emergency sale of Tesla inventory,” Musk tweeted late Tuesday.

Musk is by far the biggest particular person shareholder in each Tesla and Twitter.

Shares of Tesla rose nearly 2% earlier than the opening bell Wednesday. Shares of Twitter Inc., up 16% prior to now month with most believing Musk faces long-shot odds of success in court docket, jumped one other 3%.

Musk countersued Twitter final week, accusing the corporate of fraud over his aborted $44 billion acquisition. He claimed that Twitter held again crucial info and misled his group in regards to the dimension of its consumer base.

Musk alleges that Twitter dedicated fraud, breach of contract and violation of a securities legislation in Texas, the place Musk lives.

Musk provided to purchase Twitter earlier this yr, then tried to again out of the deal claiming the social platform was infested with a bigger numbers of “spam bots” and faux accounts than Twitter had disclosed.

Musk mentioned within the spring that he deliberate no main gross sales of his stake in Tesla after lining up financing to accumulate Twitter, however Dan Ives, an trade analyst with Wedbush, mentioned Wednesday that “the scenario has dramatically modified.”

Wedbush raised it is goal worth for shares of Twitter, “With the possibilities of a Twitter deal now extra probably in our opinion and the Avenue seeing by means of this poker transfer by Musk,” Ives wrote to purchasers.

“We are able to additionally see Musk making an attempt to resolve this powder keg scenario earlier than the Twitter deal formally heads to court docket in October,” Ives wrote. “At a minimal, we see Twitter getting a large settlement from Musk within the $5 billion to $10 billion vary that’s beginning to be factored into the inventory.”