President Donald Trump on Monday signed into law a controversial measure repealing online privacy protections established by the Federal Communications Commission under the Obama Administration.

The rules, which would have taken effect in December, required internet service providers — including Comcast, Verizon and AT&T — to obtain permission from customers before sharing personal data like their web-browsing history. The rules were aimed at preventing internet providers from selling that data without permission.

Critics of the rules argued they were an example of government overreach and were unfair because tech companies, like Google and Facebook, are not required to get such permission before tracking customers’ habits.

The bill passed the House and Senate last week, as Republicans voted to overturn the regulations. Senate Minority Leader Chuck Schumer on Sunday urged Trump to veto the bill.

Get our Politics Newsletter. The headlines out of Washington never seem to slow. Subscribe to The D.C. Brief to make sense of what matters most. Please enter a valid email address. Sign Up Now Check the box if you do not wish to receive promotional offers via email from TIME. You can unsubscribe at any time. By signing up you are agreeing to our Terms of Use and Privacy Policy . This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply. Thank you! For your security, we've sent a confirmation email to the address you entered. Click the link to confirm your subscription and begin receiving our newsletters. If you don't get the confirmation within 10 minutes, please check your spam folder.

Write to Katie Reilly at Katie.Reilly@time.com.