(AP) — The owner of TikTok has chosen Oracle over Microsoft as its preferred suitor to buy the popular video-sharing app, according to a source familiar with the deal.

Microsoft announced Sunday that its bid to buy TikTok has been rejected, removing a leading suitor for the Chinese-owned app a week before President Donald Trump promises to follow through with a plan to ban it in the U.S.

Microsoft said in a Sunday statement that TikTok’s parent company, Bytedance, “let us know today they would not be selling TikTok’s US operations to Microsoft.”

The Trump administration has threatened to ban TikTok by mid-September and ordered ByteDance to sell its U.S. business, claiming national-security risks due to its Chinese ownership. The government worries about user data being funneled to Chinese authorities. TikTok denies it is a national-security risk and is suing to stop the administration from the threatened ban.

Walmart had planned to partner with Microsoft on the deal. It’s not clear if Walmart is still interested. Oracle has declined to comment.

TikTok also declined comment Sunday.

Microsoft said Sunday it was “confident our proposal would have been good for TikTok’s users, while protecting national security interests.” The company said it “would have made significant changes to ensure the service met the highest standards for security, privacy, online safety, and combating disinformation.”

Copyright 2024 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.

Join our Newsletter for the latest news right to your inbox