A coalition of environmental groups said Monday it is withdrawing a lawsuit against a renewable energy giant that it has accused of jeopardizing the last remaining wild Atlantic salmon in the U.S.

The groups sued Brookfield Renewable, claiming the company kills salmon on the Kennebec River with its dams. Atlantic salmon only return to a handful of U.S. rivers, all in Maine, and they are protected under the Endangered Species Act.

The conservationists were dealt a setback last month when the federal government ruled the salmon can coexist with hydroelectric dams on the Kennebec, as long as upgrades are eventually made to allow salmon to pass through the dams more easily. They said Monday the federal government’s recent ruling in Brookfield’s favor "undermined the premise of our lawsuit" and they had little choice but to withdraw it. The groups previously claimed Brookfield’s dams violated the Endangered Species Act.

MAINE REGULATORS GREENLIGHT NEW WIND POWER PROJECT

The conservation groups say they can still shut down the dams by focusing on upcoming federal relicensing applications by Brookfield Renewable.

"We can accept nothing less than a solution that will save Atlantic salmon from extinction and restore other sea-run fish that cannot reach their spawning habitat," the groups said in a statement.

Brookfield Renewable

Environmental groups have withdrawn their lawsuit against Brookfield Renewable, which alleged the companys dams in Maines Kennebec River were responsible for killing off endangered Atlantic salmon. (AP Photo/Robert F. Bukaty, file)

The groups involved in the lawsuit were Atlantic Salmon Federation, Conservation Law Foundation, Maine Rivers and Natural Resources Council of Maine. Conservation groups have long advocated for removing dams from Maine rivers to aid salmon spawning.

The National Oceanic and Atmospheric Administration has said it plans to oversee a monitoring program to make sure the Kennebec River dams allow more fish to pass through the dams.

I'M A FISHING BOAT CAPTAIN. GREEN ENERGY COMPANIES, GOVERNMENT WANT TO PUT ME OUT OF BUSINESS

This withdrawal of the lawsuit makes sense in the light of the federal government's finding that the salmon and dams can coexist, said David Heidrich, a spokesperson for Brookfield.

The government's finding "confirmed that the four hydroelectric projects could continue to operate without jeopardizing the survival and recovery of Atlantic salmon and Atlantic and shortnose sturgeon," Heidrich said.

The company is seeking to relicense one of its dams and amend the licenses for three others.

CLICK HERE TO GET THE FOX NEWS APP

Wild Atlantic salmon populations in U.S. rivers has plummeted due to overfishing and habitat loss. The fish have also long grown in aquaculture farms off the coast of Maine and Washington State, though some of that fishing has been curtailed due to concerns of disease and environmental degradation that could harm wild populations.