The U.S. and Chinese flags are shown, as is a phone with the screen displaying TikTok's logo.

The U.S. Supreme Court on Friday unanimously upheld the federal law banning TikTok, beginning Sunday, unless it's sold by its China-based parent company, holding that the risk to national security posed by its ties to China overcomes concerns about limiting speech.