Billionaire Elon Musk won a deal to buy Twitter on Monday for $44 billion in a deal that will turn control of the social media platform used by millions and global leaders into the world's richest person.

Discussions about the deal, which began last week, accelerated over the weekend after Musk flirted with Twitter shareholders about the financial details of his offer.

Under pressure, Twitter began negotiating with Musk to buy the company at a suggested price of $54.20 per share.

The agreement ends Twitter's career as a public company since its initial public launch in 2013. Twitter shares rose about six percent following news of the agreement.

Musk had made a non-binding offer to acquire all of Twitter’s preferred public shares, and although the Twitter management had adopted a decision earlier this month to block the path to the acquisition attempt, it became more open to discussing the offer after Musk’s success in collecting an amount Huge to finance the deal.

And Bloomberg News Agency indicated earlier that the Twitter administration is working on setting the terms of the deal.

The Wall Street Journal had reported earlier today that Twitter decided to re-examine the takeover offer submitted by Elon Musk after it had raised the necessary funding for the deal, as the newspaper quoted informed sources as saying that Twitter managers are re-examining the deal in light of the announcement of the owner and founder of Musk. Electric car company Tesla raised $46.5 billion in funding for the deal.

Musk, who has more than 83 million followers on Twitter and began raising shares in the company earlier this year, announced his intention to buy the company on April 14 and make it private.

But his proposal was soon rejected because it was not clear if he could provide the money to make the deal.

Faced with the move, Twitter has also adopted the "poison pill," a defensive maneuver that would prevent Musk from accumulating more company stock.

Musk updated his proposal last week, which pressured Twitter to consider his proposal more seriously.

He explained how he raised funding from investment bank Morgan Stanley and a group of other lenders who provided $13 billion, plus another $12.5 billion in loans for shares in Tesla, the electric car company he runs.

It was expected to add about $21 billion in equity financing.