HELENA, Mont. — Montana lawmakers moved one step closer Thursday to passing a bill to ban TikTok from operating in the state, a move that’s bound to face legal challenges but also serve as a testing ground for the TikTok-free America that many national lawmakers have envisioned.

Montana’s proposal, which has backing from the state’s GOP-controlled legislature, is more sweeping than bans in place in nearly half the states and the U.S. federal government that prohibit TikTok on government devices.

The House endorsed the bill 60-39 on Thursday. A final House vote will likely take place Friday before the bill goes to Republican Gov. Greg Gianforte. He has banned TikTok on government devices in Montana. The Senate passed the bill 30-20 in March.

TikTok, which is owned by the Chinese tech company ByteDance, has been under intense scrutiny over concerns it could hand over user data to the Chinese government or push pro-Beijing propaganda and misinformation on the platform. Leaders at the FBI, CIA and numerous lawmakers of both parties have raised those concerns but haven’t presented any evidence to prove it has happened.

Supporters of a ban point to two Chinese laws that compel companies in the country to cooperate with the government on state intelligence work. They also point out other troubling episodes, such as a disclosure by ByteDance in December that it fired four employees who accessed the IP addresses and other data of two journalists while attempting to uncover the source of a leaked report about the company.

Congress is considering legislation that doesn’t call out TikTok, but gives the Commerce Department the ability to restrict foreign threats on tech platforms. That bill is being backed by the White House, but it has received pushback from privacy advocates, right-wing commentators and others who say the language is too broad.

Montana Attorney General Austin Knudsen urged state lawmakers to pass the bill because he wasn’t sure Congress would act quickly on a federal ban.