The U.S. Supreme Court on Friday rejected TikTok’s challenge to a law requiring that the app be sold or shut down by Sunday, holding that the statute does "not violate [the social media app's] First Amendment rights."

In an unsigned opinion, the court said the law serves the “important” government interest of preventing China from having access to user data about the platform’s 170 million U.S. users in light of TikTok’s ownership by Beijing-based parent company, ByteDance.