And the Republicans folded up like a cheap tent:
US Congress agrees last-minute budget
Republicans and Democrats have reached a deal on the US budget, an hour before a deadline that would have forced the government to close many services.
They are now working on a stop-gap spending bill which will allow the government to keep running while the wider budget plan is finalised.
The parties have agreed to slash about $38bn (£24bn) from spending for the year until 30 September.