Lawmakers in the House and Senate passed a spending package today that includes multi-year extensions of solar and wind tax credits, plus one-year extensions for a range of other renewable energy technologies.

The pair of bills, which included tax extenders and $1.1 trillion in funding to keep the government running for the next year, passed hours before lawmakers adjourned for the holidays.

“May the force be with you,” said Senator Dianne Feinstein, urging her fellow Senators to vote in favor of the package shortly after the House approved the bills.

The force was certainly with renewables.

Under the legislation, the 30 percent Investment Tax Credit (ITC) for solar will be extended for another three years. It will then ramp down incrementally through 2021, and remain at 10 percent permanently beginning in 2022.

The 2.3-cent Production Tax Credit (PTC) for wind will also be extended through next year. Projects that begin construction in 2017 will see a 20 percent reduction in the incentive. The PTC will then drop 20 percent each year through 2020.

Also included were geothermal, landfill gas, marine energy and incremental hydro, which will each get a one-year PTC extension. Those technologies will also qualify for a 30 percent ITC, if developers choose. In addition, the bill expanded grants for energy and water efficiency.

Business groups and analysts say the extensions will support tens of billions of dollars in new investment and hundreds of thousands of new jobs throughout the U.S.

“There’s no way to overstate this -- the extension of the solar ITC is the most important policy development for U.S. solar in almost a decade,” said MJ Shiao, GTM’s director of solar research.

According to GTM Research, the ITC extension will help spur nearly 100 cumulative gigawatts of solar installations by 2020, resulting in $130 billion in total investment. More than $40 billion of investment will be “directly attributable to the passage of the extension,” said Shiao.

The American Wind Energy Association expects similar growth. The group did not issue precise figures, but said the PTC extension would support tens of gigawatts of new wind projects through 2020.

The legislation also lifts a 40-year ban on exports of crude oil produced in the U.S. In exchange for lifting the ban, Democrats pushed for multi-year extensions of renewable energy tax credits and demanded that Republicans strip out any riders that would weaken environmental laws.

Both sides got what they wanted.

However, Pelosi publicly worried yesterday that she didn't have enough votes to support the bill. Many Democrats expressed concern about the oil export ban tradeoff, saying it would increase subsidies to fossil fuels and boost carbon emissions.

Congressional leaders and the White House lobbied hard to convince the Democratic base that the bill would be a win for the environment.

“While lifting the oil ex­port ban re­mains atrocious policy, the wind and solar tax credits in the Om­ni­bus will eliminate around 10 times more car­bon pollution than the ex­ports of oil will add,” wrote Pelosi in a letter to lawmakers.

Katherine Hamilton, a partner with 38 North Solutions, called the bill “sausage-making at its most intense.”

“The product should be palatable for most parties in clean energy. Extensions for renewables and efficiency tax credits were key sweeteners. In addition, clean energy R&D funding, land and water conservation funds, and clean energy funds were included in the deal,” she said.

Other independent analysts found that the deal would be a net positive for the climate. Although emissions would increase slightly because of increased drilling activity, they would be easily offset by increasing renewable energy development and decreased coal consumption.

"Our bottom line: Extension of the tax credits will do far more to reduce carbon dioxide emissions over the next five years than lifting the export ban will do to increase them. While this post offers no judgment of the budget deal as a whole, the deal, if passed, looks like a win for climate," wrote Council on Foreign Relations fellows Michael Levi and Varun Sivaram.

The tax credit extensions cap a big month for renewable energy policy.

In early December, world leaders agreed to a framework for lowering global greenhouse gas emissions -- a deal that will leverage hundreds of billions of dollars in private investment for clean technologies.

And earlier this week, California regulators issued a new proposal on net metering that would preserve the retail rate paid to rooftop solar systems. The new rules -- combined with the continued federal tax credit -- will ensure strong activity in the top solar state.

National groups will now likely reset their sights on local battles around the U.S., said Hamilton.

“The renewable energy industries can turn their focus to state and local policies, siting and permitting issues, and compliance strategies for the Clean Power Plan,” she said. 

President Obama is expected to sign the bill into law today.