The Senate of the US Congress passed a bill preventing a partial government shutdown.
It was supported by 77 members of the Senate, while 13 were against it.
Previously, the House of Representatives did the same - with the support of 207 Democrats and 113 Republicans.
Thus, a temporary measure was adopted which extends the deadline, which expires at midnight on Friday, by seven days. The deadline for agreement on the financing of other government agencies has been moved to March 22.
The next step required for the bill to take effect is President Joseph Biden's signature.
A day earlier, Democratic and Republican leaders in Congress reached an agreement to fund 12 federal programs in the current fiscal year, averting a shutdown of the US federal government on Saturday.
The temporary measure, the fourth since the start of the new fiscal year on Oct. 1, gives the House and Senate time to pass 12 budget bills to fund the U.S. government.
The deal, however, does not mention $95 billion in aid to Ukraine, Israel and other US allies.
A total of 97 House Republicans did not support the measure, signaling potential trouble for Speaker Mike Johnson, who again had to rely on Democratic votes to pass the bill. Hard-line Republicans are pressuring Johnson to use the government shutdown as a bargaining chip to force Democrats to accept conservative policy goals.
Major credit rating agencies say the continued political gamesmanship over government funding is threatening the creditworthiness of a country with more than $34 trillion in debt.
Bonus video: