Elon Musk on Thursday said he has lined up $46.5 billion in debt and equity financing to buy Twitter IncĀ and is considering taking his offer directly to shareholders, a filing with U.S. regulators showed.

Musk himself has committed to put up $33.5 billion, which will include $21 billion of equity and $12.5 billion of margin loans against some of his Tesla Inc shares to finance the transaction. He is chief executive officer of electric vehicle maker Tesla.

Shares of Tesla climbed more than 3% and the value of Musk’s 172.6 million Tesla shares rose by over $5 billion on Thursday following a strong quarterly report. On Wednesday, he qualified for compensation in the form of stock options now worth about $24 billion after Tesla hit profit and revenue performance targets.

Read more: Reuters