Updated

President Obama has signed a short-term spending bill to pay for federal operations through Friday.

The measure is the first piece of a historic agreement to cut billions in spending and avoid the first government shutdown in 15 years.

Obama signed the temporary extension in private Saturday and the White House announced it with a news release.

The measure was needed to keep the government open long enough for Congress to sign off on the budget deal reached just before the midnight deadline Friday by Obama, Republican House Speaker John Boehner and Democratic Senate Majority Leader Harry Reid.

That deal keeps the government open through the remaining six months in the 2011 budget year, while cutting $38 billion.