A federal appeals court on Thursday ordered the U.S. Environmental Protection Agency to ban a widely-used pesticide that critics say can endanger children and farmers. The 2-1 decision by the 9th U.S. Circuit Court of Appeals in Seattle overturned former EPA commissioner Scott Pruitt’s March 2017 denial of a petition by environmental groups to halt the use of chlorpyrifos on food crops such as fruits, vegetables and nuts. Pruitt’s ruling had reversed a 2015 Obama administration recommendation to extend to food a 2000 ban on chlorpyrifos that covered most household settings. “This shows that the EPA can’t just ignore the science that this pesticide damages children’s brains,” Marisa Ordonia, a lawyer for Earthjustice, which represented the petitioners, said in an interview. “The Trump administration has to follow the law, as does everyone else.”