A federal judge ruled that Donald Trump acted illegally when he commandeered the California national guard and ordered thousands of troops to Los Angeles amid protests over immigration raids. The troops return to the control of California’s governor, Gavin Newsom, at noon on Friday.