Twitter said Monday it has agreed to sell itself to Elon Musk in a roughly $44 billion deal that has the potential to expand the billionaires business empire and put the worlds richest man in charge of one of the worlds most influential social networks. The deal, which will take the company private, caps off a whirlwind period in which the Tesla and SpaceX CEO became one of Twitters largest shareholders, was offered and turned down a seat on its board and bid to buy the company — all in less than a month. Under the terms of the deal, shareholders will receive $54.20 in cash for each share of Twitter stock they own, matching Musks original offer and marking a 38% premium over the stock price the day before Musk revealed his stake in the company. Free speech is the bedrock of a functioning democracy, and Twitter is the digital town square where matters vital to the future of humanity are debated, Musk said in a statement Monday. Twitter has tremendous potential — I look forward to working with the company and the community of users to unlock it. The deal, which was unanimously approved by Twitters board, is expected to close this year. It comes after Musk revealed last week he had lined up $46.5 billion in financing to acquire the company, an apparent turning point that forced Twitters board to seriously consider the deal. The board met Sunday to evaluate Musks offer. The Twitter Board conducted a thoughtful and comprehensive process to assess Elons proposal with a deliberate focus on value, certainty, and financing, Twitter independent board chair Bret Taylor said in a statement, calling the deal the best path forward for Twitters stockholders. Twitter stock was up nearly 6% following the announcement of the deal, hovering around $51.84, just shy of the offer price. The deal is pending approval from shareholders and regulators. In an internal message to employees obtained by CNN, Twitter CEO Parag Agrawal said he would hold an all-hands meeting with Taylor on Monday afternoon to answer questions about the deal. I know this is a significant change and youre likely processing what this means for you and Twitters future, he said.