WASHINGTON, DC - DECEMBER 13: U.S. Sen. Ted Cruz (C) (R-TX) leaves the U.S. Senate chamber with Sen. Richard Shelby (R) (R-AL) after the Senate voted to approve a $1.1 trillion omnibus funding bill December 13, 2014 in Washington, DC. Despite Cruz's efforts to delay the vote due to objections with U.S. President Barack Obama's immigration orders, the Senate approved the funding and will avoid a government shutdown. (Photo by Win McNamee/Getty Images)
Senator Barbara Mikulski, a Democrat from Maryland and chairman of the Senate Appropriations Committee, talks to a reporter while walking through the the U.S. Capitol basement in Washington, D.C., U.S., on Friday, Dec. 12, 2014. The Senate is poised to take up a $1.1 trillion U.S. government spending bill opposed by two senators who agree on almost nothing -- Democrat Elizabeth Warren and Republican Ted Cruz. Photographer: Andrew Harrer/Bloomberg via Getty Images
Senate Minority Leader Mitch McConnell, a Republican from Kentucky, center, walks through the U.S. Capitol basement in Washington, D.C., U.S., on Friday, Dec. 12, 2014. The Senate is poised to take up a $1.1 trillion U.S. government spending bill opposed by two senators who agree on almost nothing -- Democrat Elizabeth Warren and Republican Ted Cruz. Photographer: Andrew Harrer/Bloomberg via Getty Images
WASHINGTON, DC - DECEMBER 11: Members of the U.S. House of Representatives leave the Capitol after a vote on the $1.1 trillion omnibus bill December 11, 2014 in Washington, DC. The House has passed the bill by a vote of 219-206. (Photo by Alex Wong/Getty Images)
Representative Jim Costa, a Democrat from California, speaks to members of the media outside a House Democratic caucus meeting at the U.S. Capitol in Washington, D.C., U.S., on Thursday, Dec. 11, 2014. The House passed a $1.1 trillion spending bill after a day of disarray and just hours before U.S. government funding runs out. Photographer: Andrew Harrer/Bloomberg via Getty Images
U.S. House Speaker John Boehner, a Republican from Ohio, center, returns to his office after voting in the House Chamber at the U.S. Capitol in Washington, D.C., U.S., on Thursday, Dec. 11, 2014. The House passed a $1.1 trillion spending bill after a day of disarray and just hours before U.S. government funding runs out. Photographer: Andrew Harrer/Bloomberg via Getty Images
The space program would receive $18 billion, a $364 million increase. Of that, $4.4 billion is provided for the new Orion space-launch system, which last week had its first test launch. (Photo by U.S. Navy via Getty Images)
Provides $8.4 billion for the FBI, a slight increase; $2.4 billion for the Drug Enforcement Administration; $1.2 billion for the Bureau of Alcohol, Tobacco, Firearms and Explosives; and $2.3 billion for various grants to state and local law enforcement. (Photo credit should read Joshua LOTT/AFP/Getty Images)
Provides $26 billion for Section 8 and other public housing programs for the poor. Add $10 billion for other housing programs, including help for the elderly and disabled. (Photo by Scott J. Ferrell/Congressional Quarterly/Getty Images)
Provides $73.7 billion for overseas military operations and diplomatic efforts by the State Department to combat terrorism, including $3.4 billion to continue the air campaign against Islamic State militants and $1.6 billion to train the Iraqi military. Provides $4.1 billion to train and equip Afghanistan's military.
House Minority Leader Nancy Pelosi, a Democrat from California, center, walks as she leaves a House Democratic caucus meeting at the U.S. Capitol in Washington, D.C., U.S., on Thursday, Dec. 11, 2014. The House passed a $1.1 trillion spending bill after a day of disarray and just hours before U.S. government funding runs out. Photographer: Andrew Harrer/Bloomberg via Getty Images
WASHINGTON, DC - DECEMBER 11: House Speaker John Boehner (C) (R-OH) walks to the House chamber for an expected vote on a $1.1 trillion government funding bill on December 11, 2014 in Washington, DC. Congress is attempting to pass a last minute funding bill for the federal government to avoid a government shutdown at midnight tonight. (Photo by Win McNamee/Getty Images)
$1.013 trillion for core agency budgets for day-to-day operations, with $521 billion for defense and $492 billion for non-defense. That represents about one-third of the federal budget and is essentially a freeze at current levels. Another $64 billion is provided for overseas military operations. (Photo By Tom Williams/CQ Roll Call)
Provides a base budget of $490 billion to the Pentagon, a $3.3 billion increase. Maintaining 1.3 million active-duty troops and 820,800 reserves would cost $128 billion. Another $162 billion is provided for operations and maintenance; procurement of new weapons systems, including 38 new F-35 fighters, totals $92 billion.
Provides $49 billion for foreign aid programs, an almost $3 billion increase. Some $6 billion would help fight HIV/AIDS overseas, while $7.2 billion would be for economic and development programs. Israel would receive $3.1 billion in military aid; Egypt would receive $1.3 billion in military aid and $150 million in economic assistance. The Millennium Challenge Corporation, which directs aid to countries demonstrating economic and social progress, would receive $900 million. AFP PHOTO/A MAJEED (Photo credit should read A Majeed/AFP/Getty Images)
Cuts the IRS by $346 million to $10.9 billion. Blocks the agency from targeting tea party organizations and other advocacy groups seeking tax-exempt status based on their ideology. (Photo by Chip Somodevilla/Getty Images)
Discover More Like This
BACK TO SLIDE
WASHINGTON (AP) -- With little fanfare to mark a rare bipartisan achievement, President Barack Obama on Tuesday signed a massive, $1.1 trillion spending bill that keeps the government operating over the next nine months.
The legislation was a compromise that angered liberals and conservatives alike but avoided a government shutdown and put off partisan clashes over immigration to next year.
It was one of the last acts of Congress under the current Republican House and Democratic-controlled Senate. In January, the new Congress will return with Republicans in charge of both chambers.
The measure retains cuts negotiated in previous budget battles and rolls back some banking regulations. But it also retains spending for Obama's health care law and pays for the administration's fight against Ebola.
The Department of Homeland Security, however, will only receive its money through Feb. 27, a condition demanded by Republican leaders to appease critics of Obama's immigration measures. The department oversees the nation's immigration enforcement.
The agreement, negotiated mainly by Senate Democratic leader Harry Reid and House and Senate Republican leaders, was the result of a determined effort by House Speaker John Boehner and Senate Republican leader Mitch McConnell to avoid a government shutdown like the partial one in 2013 that damaged the GOP's standing with the public.
Still, conservatives such as Sen. Ted Cruz of Texas chafed at Boehner's and McConnell's decision not to use the spending bill to challenge or undo Obama's executive actions on immigration, especially ones that aim to shield more than 4 million immigrants from deportation and make them eligible for work permits.
Likewise, liberals complained about a provision that did away with a requirement that large banks spin off their lucrative derivatives business into separate subsidiaries. They also objected to a provision that permits wealthy political donors to increase substantially their contributions to the Democratic and Republican parties.
The opposition from the political left and right added drama and uncertainty to the spending bill last week. Obama made personal calls to lawmakers appealing for their votes.
Meanwhile, Cruz and liberal Massachusetts Sen. Elizabeth Warren captured the spotlight by rallying their respective sides to oppose the legislation, laying bare the kinds of intraparty squabbles that could emerge in any future compromise efforts by Obama and the GOP.