It was the fourth time President Trump extended the deadline for TikTok to find a new owner or face a ban in the United States. This time, officials have said they are nearing a deal to address concerns about the app.

President Donald Trump hinted a deal could be reached over TikTok's fate in the U.S. Here's how we got here.

The social media platform had faced a ban in the US over national security concerns.