Nigeria, Jan. 30 -- Meta has agreed to pay former U.S. President Donald Trump $25 million to settle a lawsuit he filed in 2021. Trump sued the company after Facebook and Instagram suspended his accounts following the U.S. Capitol riot.

The Wall Street Journal reported that $22 million of the settlement will go toward funding Trump's future presidential library, while the rest will cover legal fees and payments to other plaintiffs.

Meta will not admit wrongdoing as part of the agreement. A company spokesperson confirmed the settlement but did not provide further details.

Trump had criticized social media platforms for banning his accounts after the January 6, 2021, riot. However, he has recently strengthened ties with tech leaders, incl...