CHEYENNE, Wyo. (AP) — U.S. wildlife officials have agreed to stop using a certain cyanide trap to help control predators on 10 million acres of public lands in Wyoming.

In a court-approved agreement resulting from a lawsuit brought by wildlife advocacy groups, the U.S. Agriculture Department's Wildlife Services agreed to stop using M-44 devices in the state. M-44s are embedded in the ground and look like lawn sprinklers but spray cyanide when triggered by animals attracted by bait.

The federal agency had previously stopped using the devices in other western states.

The Wyoming agreement also requires the federal agency to analyze the environmental impacts of killing coyotes, bobcats and other predators in the state and impose new trapping restrictions. It will also adopt additional trapping protections to prevent inadvertent grizzly bear deaths.

More From KGAB