CRAWFORD, Texas — President Bush on Wednesday signed a $555 billion bill that funds the Iraq war well into next year and keeps government agencies running through September.

Bush's signature on the massive spending bill capped a long-running battle with the Democratic-run Congress as he left on Air Force One to fly from his Maryland mountaintop retreat to his Texas ranch here to see in the new year.

Bush had deep reservations about special "earmark" spending in the bill, but signed it into law nevertheless.

"The omnibus (bill) funds the government at responsible levels that the president proposed without raising taxes," White House spokesman Scott Stanzel told reporters traveling to Texas with Bush.

Stanzel said that although he signed the bill, Bush continues to be "disappointed with Congress' addiction to earmarks."

"And soon the president will outline his fiscal year 2009 budget proposal," the spokesman added, "which will hold the line on spending, keep taxes low and continue us on the path to a balanced budget."

A fuller Bush statement on the bill was expected later Wednesday, Stanzel said.

Bush, who had used his veto power to remain relevant in the debate with Democrats on national spending priorities, had agreed to sign the measure, which includes $70 billion for military operations in Iraq and Afghanistan, after winning concessions on Iraq and other budget items. The bill bankrolls 14 Cabinet departments and federal agencies and funds foreign aid for the budget year that began on Oct. 1.

Bush and his Senate GOP allies forced the Iraq money upon anti-war Democrats as the price for permitting the year-end budget deal to pass and be signed.

Democrats tried to use war spending legislation to force a change in Bush's Iraq policy, chiefly by setting a withdrawal goal with dates such as Dec. 15, 2009. But Bush and Republicans held a powerful hand. They knew Democrats would not let money lapse for troops overseas. That allowed a Bush veto in May and GOP stalling tactics to determine the outcome.

On the domestic budget, Bush's GOP allies were divided over whether the overall spending bill was a victory for their party in the long fight with Democrats over agency budgets.

Conservatives and outside watchdog groups criticized the bill for having about $28 billion in domestic spending that topped Bush's budget and was paid for by a combination of "emergency" spending, transfers from the defense budget and other maneuvers.

Bush had complained about more than 9,000 "special interest" earmarks that he found in the bill.

But when asked Wednesday whether the president had included any kind of accompanying statement with the signed legislation, Stanzel said that one would be forthcoming, noting that Bush already had asked for options the White House might have to abrogate some or a large degree of that spending.

"So no decisions have been made on that front," Stanzel added, "but certainly as you noted in the president's press conference last week, he talked about directing the OMB director, Jim Nussle, to look at ways — or look at avenues by which the federal government can address those earmarks."

"The signing statement will — or the statement by the president, rather, will note out dissatisfaction with continued addiction to earmarks," Stanzel said.