The Twitter Board of Directors has agreed to Elon Musk's buyout of Twitter's stock, and both parties have executed a Definitive Merger Agreement. The specific details of the agreement can be found here. The deal is expected to close sometime in 2022. The time lag between signing and closing the transaction is subject to various conditions including a shareholder vote and various regulatory reviews