President Donald Trump has signed an executive order banning the United States’ business transactions with ByteDance, the parent Chinese company of TikTok, and Tencent, the company that owns WeChat, starting in 45 days.

The Trump administration had earlier hinted at the order saying that it aims to remove “untrusted” Chinese apps from the US digital networks. The administration had termed video-sharing app TikTok and messenger app WeChat “significant threats”.

“The United States must take aggressive action against the owners of TikTok to protect our national security,” Trump stated, alleging TikTok app is being used for disinformation campaigns by the Chinese Communist Party.

Talking about WeChat, Trump said: “It automatically captures vast swaths of information from its users. This data collection threatens to allow the Chinese Communist Party access to Americans’ personal and proprietary information.”

The WeChat will effectively be banned in 45 days but Trump has agreed to support the sale of TikTok’s US operations to Microsoft Corp. For the deal, the US government expects a “substantial portion” of the deal.

Trump, however, has warned to ban the the video-sharing app in the US on September 15.