BISMARCK, N.D. (AP) — A U.S. Supreme Court decision Thursday that states can force online shoppers to pay sales tax is being hailed by North Dakota officials as a victory for local businesses, and Tax Commissioner Ryan Rauschenberger said his office will be working quickly to implement the law change.

Remote sellers will be required to collect and remit sales tax to North Dakota if they make a minimum of either 200 sales or $100,000 in sales per year in the state, according to Rauschenberger.

The Supreme Court ruling in a 2016 South Dakota case overturns a 1992 decision, Quill Corp. v. North Dakota, that said companies cannot be forced to collect sales tax from customers in a state where they don’t have a physical presence like a store or distribution center.

U.S. Sen. Heidi Heitkamp was North Dakota’s tax commissioner when the state lost the Quill case, which dealt with catalog retailers. She applauded the Supreme Court’s action Thursday, calling it “a huge victory decades in the making for our brick-and-mortar businesses.”

Gov. Doug Burgum echoed that statement, calling the decision “a long overdue victory.”

The North Dakota Legislature last year passed a law requiring the collection of sales tax from online retailers, effective whenever the U.S. Supreme Court acted to overturn the Quill decision or made a similar ruling, according to Attorney General Wayne Stenehjem, who joined with South Dakota in pushing to overturn the Supreme Court’s 1992 decision. He said he will work with Rauschenberger to implement the change.

Rauschenberger says that will happen “over the next few weeks.”

The state Tax Commissioner’s Office estimates overturning the Quill case could represent up to an additional $50 million in annual sales tax revenue for the state.