Microsoft has said that its offer to buy the US operations of hugely popular video-sharing app TikTok has been rejected, paving the way for Oracle to make a last-minute bid.
US President Donald Trump gave a 15 September deadline for the Chinese-owned app to sell or shut down.
The Trump administration claims TikTok and other Chinese apps are national security threats.
Microsoft and Oracle led the race to buy TikTok from Chinese firm ByteDance.
The Wall Street Journal and Reuters reported that Oracle, which sells database technology and cloud systems to businesses, had won the bidding war, citing people familiar with the matter.
Earlier reports had said Oracle was seriously considering buying TikTok's businesses in the US, Canada, Australia and New Zealand with investment firms, including General Atlantic and Sequoia Capital.
A TikTok spokesperson told the BBC the firm was "not commenting on either the Microsoft development nor the Oracle speculation".
What did Microsoft say?
On Sunday Microsoft announced that “ByteDance let us know today they would not be selling TikTok’s US operations to Microsoft. We are confident our proposal would have been good for TikTok’s users, while protecting national security interests.”
“We look forward to seeing how the service evolves in these important areas,” its statement added.
This paves the way for Oracle, who Mr Trump said would be "a great company" to take over TikTok's US operations last month.
Oracle's chairman Larry Ellison is a supporter of Mr Trump and held a fundraising event for him in February.
Earlier this month Mr Trump said the government should get a "substantial portion" of the sale price of TikTok's US unit if an American firm buys it.
However, there is some confusion over the deadline. Mr Trump's executive order gave a deadline of 20 September. But the US President has repeatedly said the deadline is 15 September.
Why is this happening?
Mr Trump ordered TikTok's owner ByteDance to sell its US business within 90 days or face being shut downThe forced sale of TikTok's US business is part of a wider crackdown on Chinese technology firms in America.
Mr Trump has said apps such as TikTok, WeChat and equipment maker Huawei pose a national security threat because data collected about users can be shared with the Chinese government. The Chinese firms deny this claim.
Huawei also faces a ban on 15 September that affects its non-American suppliers. They will have to stop shipping to Huawei if their products contain US technology. To be able to supply Huawei they will need a licence from the US Commerce Department.
What does China have to say about all this?
Two weeks ago, China announced new government restrictions on tech exports. The rules are believed to be aimed at delaying the TikTok sale. The restrictions mean some technologies such as AI, will need government approval before they can be exported.
TikTok has become so popular because it has highly-advanced algorithms that predict what users want to watch.
This sort of technology will now be under the spotlight from the Chinese government.
These highly-valued algorithms will not be sold or transferred according to a report in the South China Morning Post.
Chinese tech firms caught in the middle of US-China battle
TikTok is now the second example of a high profile Chinese company that has become caught up in the US China tech cold war.
Huawei was first - getting embroiled in a battle that has now effectively seen it crippled from doing any business in the US or buying any parts that have US components in them.
The Trump administration says this is about levelling the playing field and national security - protecting Americans' data and privacy.
But Beijing says this is the US being a bully - dissatisfied with its lack of progress in key technology areas, it is worried about losing ground, and that's why it has either tried to block Chinese tech or acquire it - in the case of TikTok.
It's still not clear though what form TikTok will have if indeed it ends up in American hands - and how popular it will remain with American users.
All of this of course could slow down the firm's growth in the US, but it's beginning to hint that it has already turned its focus elsewhere from the markets it's being pushed out of - the US and India - and investing in South East Asian markets instead.
What will a forced sale mean for users of TikTok?
It's unclear what will happen to the popular video-sharing app which has around 100m active users in the US.
Neither Microsoft or Oracle are seen as the most obvious suitors for TikTok, which has a predominantly young audience who share short-form lip-synching videos.
Any deal will still need approval from a number of interested parties including the US and Chinese governments, ByteDance and investors.
In August, TikTok filed a lawsuit against the US government in response to Mr Trump's executive order to ban the app.
Latest Stories
-
US official sees little voting disruption tied to foreign interference
9 mins -
Nigeria court frees 119 protesters after government drops charges
19 mins -
French families sue TikTok over harmful content
31 mins -
Slapping MP shows generational change may not end abuse of power in Nigeria
42 mins -
Zimbabwe bans police from using mobile phones while on duty
54 mins -
Killers of Ugandan Olympian sentenced to 35 years
1 hour -
Elon Musk to spend election night with Donald Trump
1 hour -
Accusations fly in Spain over who is to blame for flood disaster
1 hour -
UCL: Real Madrid lose to AC Milan in second straight home defeat
1 hour -
Queen Camilla cancels events due to chest infection
1 hour -
Economy is growing below potential – IEA
2 hours -
UCL: Gyokeres hat-trick as Amorim’s Sporting thrash Man City
2 hours -
Equatorial Guinea VP warns against office sex after viral videos
2 hours -
Netflix Europe offices raided in tax fraud probe
2 hours -
UCL: Diaz nets hattrick as Liverpool beat Leverkusen
2 hours