In making the 5-4 decision, the court acknowledged but largely tossed out the internet companies' arguments.
The U.S. Supreme Court's new ruling that declares states can make retailers collect sales taxes on online purchases could potentially boost Washington state's bottom line by hundreds of millions of dollars.
A "quarter century of experience has convinced me" the Supreme Court's earlier decision was no longer justified, he wrote, adding that it was "never too late" to arrive at a better position.
Governor Pete Ricketts reacted to the ruling.
The Supreme Court says states can now tax online sales.
Under South Dakota's law, online retailers with more than $100,000 in annual sales or more than 200 transactions in the state are required to pay a 4.5 percent sales tax on all purchases.
Brick-and-mortar stores could also see some gains, since no-online-taxes meant that goods were more expensive if you bought them at an actual store. Thanks to Amazon's nationwide network of warehouses, the company already collects sales tax for the majority of states.
Now it's up to Congress to figure out a system for interstate commerce that's simple enough for small businesses to manage while still allowing states to determine how taxes will be collected.
The court's conservative wing argued that the previous ruling was sufficient to protect the rights of states, but the Trump administration urged the court to side with South Dakota and expand tax collection powers.
Miller said this ruling could bring the two closer to being equal.
The decision is largely viewed as a victory for states and local businesses. Online shopping for many web commerce sites didn't collect local sales taxes.
"As a regional destination for working, eating, entertainment, and shopping, sales tax revenue is a major part of how we operate our government and improve our community", said Chris Floore, assistant to the county manager for public affairs for Macon-Bibb County.