The deal comes less than two weeks before the limit on US government debt was due to be reached.

for more...