The Senate on Thursday passed a bill to overhaul federal permitting rules for energy projects. The measure, approved 62 to 33, aims to speed up construction for wind farms and gas pipelines. While the Trump administration supports the plan, it now faces an uncertain future in the Republican-controlled House of Representatives.

The bill would overhaul federal environmental laws to make it easier to build everything from gas pipelines to wind farms. But it faces hurdles in the House.

The Senate on Thursday passed sweeping legislation to overhaul federal permitting rules in an effort to make it easier to build all sorts of large projects in the United States, from gas pipelines to railway expansions.

The bill, which was approved by a vote of 62 to 33, would amend or pare back several landmark environmental laws to allow for faster federal approvals of long-distance power lines, wind and solar farms, gas-fired power plants, broadband, housing and more.

Nearly every Republican senator voted for the bill, which had the enthusiastic support of the Trump administration, business groups, energy developers and labor unions.

But most Democrats were opposed, and only 15 senators who caucus with the party voted for the measure. The legislation was contentious with environmentalists, who said that many of its changes would limit the ability of communities to use lawsuits to fight polluting facilities, as well as with many Native American tribes.

The legislation must now pass the Republican-controlled House, where its fate is uncertain. Lawmakers won't be in Washington next week, and they face a tight timeline to fund the government and consider a variety of other bills before the new Congress takes office in early January. President Trump has indicated that he would sign the permitting overhaul into law if it reaches his desk.

The sprawling bill was put together after months of closed-door negotiations between two Republican Senators, Mike Lee of Utah and Shelley Moore Capito of West Virginia, and two Democratic Senators, Sheldon Whitehouse of Rhode Island and Martin Heinrich of New Mexico.