BILLINGS, Mont. (AP) — A federal judge ordered U.S. wildlife officials to reconsider a 2015 decision that blocked Endangered Species Act protections for the iconic bison herds that roam Yellowstone National Park.

U.S. District Judge Christopher Cooper said in a ruling late Wednesday that the U.S. Fish and Wildlife Service could not "simply pick and choose" between conflicting science after the agency rejected a study suggesting the park's bison population might be too small to sustain its two herds.

Yellowstone's 5,000 bison make up the largest remaining wild population of a species that once numbered in the tens of millions.

The animals, also called buffalo, are routinely slaughtered by state and federal agencies and killed by hunters during their winter migrations outside the park into Montana.

The slaughter program is intended to keep the park's bison population at about 3,000 animals to guard against transmissions of brucellosis, a disease found in elk and bison that's feared by Yellowstone-area ranchers because it can make cattle abort their young.

In a bid to stop those slaughters, wildlife advocates from the Buffalo Field Campaign and other groups sought protections for the herds in 2014.

They sued when their petition was denied, arguing the denial was politically motivated and made out of deference to the livestock industry.

The government's reconsideration of protections will take several months at a minimum and is not expected to affect this winter's capture and slaughter program.

Representatives of the Fish and Wildlife Service and Yellowstone National Park did not immediately respond to messages from The Associated Press seeking comment.

In their lawsuit, the wildlife advocates pointed to a study from Texas A&M University that said the park's two herds were genetically distinct from one another and should be managed separately.

Because a minimum of 3,000 bison are needed to ensure a single herd's survival, that suggests a target of 3,000 animals for two herds was too low.

Government scientists rejected the claim, saying the distinction between the herds was artificially created.

But Cooper determined the rejection was made too hastily. While the government may ultimately prevail in its argument, he said, it must at least "explain why the evidence supporting the petition is unreliable, irrelevant or otherwise unreasonable."

More From KGAB