California lawmakers voted to renew the state's cap-and-trade program, aimed at reducing the state's carbon footprint.

Cap and trade puts a limit on carbon emissions and requires polluters to obtain permits to release greenhouse gases. Some permits, known as allowances, are given away while others are auctioned, generating billions of dollars in revenue for the state.

News reports say the three-bill package heads to Gov. Jerry Brown for his signature into law.

Brown has sought to offer the state’s cap-and-trade program as a model that can be reproduced in other states and even nations to reduce carbon emissions and combat rising temperatures.

The legislation was opposed by some environmentalists who say it’s too timid for progressive California. Conservatives also fought the measure, saying it will raise costs in an already expensive state.

Brown and Democratic leaders were able to gather the two-thirds support needed in both chambers to extend the law through 2030. One Republican in the Senate and seven in the Assembly joined a majority of Democrats in supporting the bill.

Two companion bills helped secure the two-thirds majority necessary to extend cap and trade. One aims to improve local air quality and helped bring some Democrats on board with the cap-and-trade deal. A second bill may give Republicans more of a say in how to spend money collected through cap and trade.

State law requires California to reduce greenhouse gas emissions 40 percent from 1990 levels by 2030.