 At the end of the controversial term, the Supreme Court has ruled that presidents are immune from criminal prosecution for official acts, and it profoundly undermined the authority of federal agencies.