Gov. Bobby Jindal signed a law this week that will end a lawsuit filed by a New Orleans area regional levee board against 97 oil and gas companies.

Legal experts warned that the bill could impact claims against BP over the 2010 Gulf of Mexico oil spill.

Louisiana’s attorney general wanted Jindal to veto the bill but the governor disagreed.

The lawsuit against the 97 oil and gas companies was filed by the Southeast Louisiana Flood Protection Authority-East.

The agency alleged in federal court that oil, gas and pipeline companies are partly responsible for depletion of coastal wetlands that help protect New Orleans and South East Louisiana from hurricane damage.