The House passed a short-term spending bill Thursday that would keep the government open through Nov. 21.
The bill will now head to the Senate. If it passes there and President Trump signs it, it would give lawmakers about eight more weeks to come to some sort of agreement on an appropriations bill and avoid another government shutdown.
The clock's ticking for the Senate to reach an agreement before Oct. 1, when the budget is set to run out and the government would shut down. But partisan issues have been keeping the senators from reaching an agreement.
The U.S. experienced a partial government shutdown in December and January that lasted 35 days, the longest in U.S. history.
On Wednesday, Senate Democrats were able to block a Republican appropriations package that included $693 billion in defense spending. The vote was 51-44 in favor of the House-passed bill, but it failed to reach the two-thirds majority required to pass it.
Additional reporting from Newsy affiliate CNN.