KCBS_740SACRAMENTO (AP) — California’s Legislature has approved regulations on cow flatulence and manure – both blamed for releasing greenhouse gases.

The measure was approved shortly before the end of the legislative session Wednesday after its author, Democratic Senator Ricardo Lara of Bell Gardens, agreed to give dairy farms more time to comply.

READ MORE: Improving Weather Conditions Allow Crews to Increase Containment of Fawn Fire to 35 %

The legislation seeks to reduce methane emissions associated with manure to 40 percent below their 2013 levels by 2030. Methane is one of several gases known as short-lived climate pollutants that don’t persist for long in the atmosphere but have a huge influence on the climate.

READ MORE: Teen Driver Injured in Solo Crash Near San Gregorio

The bill also calls for efforts to significantly increase composting to eliminate the amount of food waste in landfills, which releases methane when it breaks down.

Republicans say the rules would harm businesses.

MORE NEWS: Homeless Man Found Dead with Gunshot Wounds Near Creek Trail

© Copyright 2016 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.