The Senate passed a resolution Thursday to eliminate the Federal Communications Commission's broadband privacy rules that were finalized in the final months of the Obama administration.

Republican leaders used the Congressional Review Act, which allows Congress to overturn recent agency regulations with a simple majority vote, to undo the FCC privacy rules imposed on service providers. The Senate passed the resolution in a 50-48 vote.

The Senate action follows House passage of the same resolution, and sends the measure to President Trump's desk for his signature.

The privacy rules require Internet service providers, like Comcast and Verizon, to obtain permission from consumers before sharing browser history and other user information.

But industry critics have long argued that the regulations are unfair because online companies such as Google and Facebook, which also have access to a mountain of user data, are not held to the same requirements.

Sen. Jeff Flake, R-Ariz., who authored the resolution to overturn the rule, has said the Obama-era rules are "economically harmful" resulting from the FCC's overreach.