The U.S. Capitol is seen on December 20, 2024 in Washington, DC.

U.S. lawmakers passed legislation overnight to avoid a government shutdown, defying president-elect Donald Trump's demand to also greenlight trillions of dollars in new debt. President Joe Biden signed the bill into law Saturday.