A federal judge ruled that officials can’t cancel existing federal grants based solely on whether they align with new administration priorities, citing limits under federal regulations and the spending clause. The decision, backed by a coalition led by attorneys general and governors, targets a termination approach used to cut billions in federal awards.