WASHINGTON (AP) — A proposal to deter states from regulating artificial intelligence for a decade was soundly defeated in the U.S. Senate on Tuesday, thwarting attempts to insert the measure into President Donald Trump’s big bill of tax breaks and spending cuts.

The Senate voted 99-1 to strike the AI provision from the legislation after weeks of criticism from both Republican and Democratic governors and state officials.