WASHINGTON — The U.S. House voted on Wednesday to approve legislation that would reinstate Obama-era net neutrality rules that prevent internet service providers from meddling with web traffic.

The legislation, dubbed the “Save the Internet Act,” and sponsored by U.S. Rep. Mike Doyle, D-18th District, passed the House 232-190, largely along party lines. One Republican, Rep. Bill Posey of Florida, broke ranks with his party to support the bill.

Doyle hailed the House passage of the legislation. “There has to be some sort of cop on the beat,” he said in an interview. “Right now there are no rules,” he added, calling it the “wild, wild West.”

In a statement, U.S. Rep. Madeleine Dean, D-4th District said lawmakers “should be making the internet more accessible, not less. That means restoring the FCC’s authority to fund broadband for veterans, seniors, students, and disabled Americans. Everyone deserves high-quality internet access, and this legislation moves us one step closer to that reality.”

Under the Trump administration, the Federal Communications Commission voted in 2017 to toss out the net neutrality rules put in place in 2015 under the Obama administration. Those regulations barred broadband providers from blocking some websites or charging for some content.

But the measure faces long odds in the Senate, where Majority Leader Mitch McConnell told reporters this week that it was “dead on arrival,” and that it won’t see a vote in the GOP-led chamber. The White House has suggested President Trump would veto the measure if it reached his desk.

Doyle said Senate supporters of the bill have “some strategies” to build support for the effort.

He noted that the chamber last year approved a resolution to undo the Trump administration’s rule reversal. That effort had the backing of three Republican senators and all of the Democratic senators.

Doyle said lawmakers will undoubtedly face pressure from their constituents to back the effort. “This is big out in the country,” he said, and is only controversial in Washington, D.C. “This isn’t a partisan issue,” he added.