Twitter has confirmed that Elon Musk has offered to buy the company for a second time this year.
The website said in a statement that it plans to agree to the offer at 54.20 dollars (£47.23) per share, the same price Mr Musk previously put forward.
The total value of the deal would be 44 billion dollars (£38.3 billion).
A spokesperson for Twitter said: “We received the letter from the Musk parties which they have filed with the SEC. The intention of the company is to close the transaction at 54.20 dollars per share.”
Twitter’s stock surged 22.2% to 52 dollars (£45.31) after the announcement.
Earlier this year, the SpaceX founder offered to purchase the company but pulled out in July.
Lawyers for Mr Musk said it was due to the platform “not complying with its contractual obligations” surrounding the deal, namely giving him enough information to “make an independent assessment of the prevalence of fake or spam accounts on Twitter’s platform”.
Twitter said in response it was “committed to closing the transaction” and launched legal action. Mr Musk later countersued.
A month later, in a published court document, Twitter accused Mr Musk of “looking for an excuse” to get out of the deal, with the firm calling Mr Musk’s accusations “factually inaccurate, legally insufficient, and commercially irrelevant”.