President Donald Trump has signed an executive order that he says will allow TikTok to continue operating in the United States in a way that meets national security concerns laid out by the law.

President Joe Biden signed legislation last year calling for China’s ByteDance to sell TikTok’s assets to an American company by early this year or face a ban, but Trump has repeatedly signed orders that have allowed TikTok to keep operating in the U.S. as his administration tries to reach an agreement for the sale of the company.

Much is still unknown about the actual deal in the works, but Trump said Thursday that Chinese leader Xi Jinping has agreed to move forward with it. However, the Chinese embassy in Washington didn’t immediately respond to an AP inquiry seeking confirmation that China has formally signed off on the proposed framework deal.

Trump said in response to a question at a signing ceremony Thursday that he would make the American- controlled TikTok “100% MAGA” if he felt he could, but he intends for “every philosophy, every policy” to be “treated right.”

Vice President JD Vance said the deal ensures that “American investors will actually control the algorithm” that determines the content seen on the social media app. He said more information about the deal will be revealed in the coming weeks.