US President Joe Biden signed the $1.2 trillion funding bill into law on Saturday, just a few hours after the deadline.
The US House of Representatives passed the package on Friday and the Senate early Saturday morning, about two hours behind schedule, which would have led to a government shutdown.
Because obligations of federal funds are incurred and tracked on a daily basis, agencies will not shut down and may continue their normal operations, the White House said.
The latest legislation would provide funding for the Departments of Defense, Homeland Security, Labor, Health and Human Services, Education, State, and the Legislature through fiscal year 2024. It would also allocate about $62 billion in general discretionary funds for the Department of Homeland Security, which oversees border security.
In addition to the $459 billion bill approved earlier this month, the new measure provides full funding for the federal government totalling $1.659 trillion through the end of September.
Congress has struggled to avert multiple shutdowns this session with temporary bills that kept extending deadlines. Since the start of fiscal year 2024 from October 1, 2023, the Congress previously approved stopgap funding measures in September 2023, in November 2023, in January 2024 and in late February 2024.