The Senate has approved an emergency bill to avert a first-ever US government default - with just hours to spare.
The strong bipartisan vote was 74-26.
The measure now heads to President Barack Obama for his signature.
The legislation makes a downpayment on taming out-of-control budget deficits.