The president signed a spending and border security plan into law to keep the government running through Sept. 30, with only hours to spare before parts of the government shut down Saturday. Before he did so, Trump also declared a national emergency to repurpose funds from other parts of the government to build his proposed border wall without congressional approval.