BREAKING: Senate passes $1.1 trillion 'Cromnibus' bill
Sen. Harry Reid (D-NV) (C-SPAN)

The Senate passed a $1.1 trillion spending bill Saturday night that drew opposition from both Democrats and Republicans, avoiding a possible repeat of the government shutdown two years ago.

According to The Hill, the bill passed 56-40.

The "Cromnibus" bill, as it was called, provides funding for most government departments through September 2015, except for the Department of Homeland Security. That agency will only be funded through the end of February, at which point Republicans have threatened to deny it money needed to implement President Barack Obama's executive order expanding immigration reform.

The Hill reported that the vote came about after Tea Party Sen. Ted Cruz (R-TX) criticized House Minority Leader Mitch McConnell (R-KY) and House Speaker John Boehner (R-OH) for pushing that the 1,600-page bill be passed not long after it was introduced.

"Even though millions of voters rose up just one month ago to protest how President Obama and the Senate Democrats were running Washington, business as usual is continuing inside the marble halls of the United State Congress," Cruz said.

As a result, the Senate held around 40 procedural votes on presidential nominations before taking on the bill, undermining an agreement between McConnell and Senate Majority Leader Harry Reid (D-NV) to vote on it on Monday night.

"Regrettably, a small group of Senate Republicans has determined that it is in their political interests to hold this legislation hostage," Senate Majority Leader Harry Reid (D-NV) said in a statement. "They objected to an agreement that would allow us to vote on Monday night. Now we're relegated to watching the time tick away on the clock just so we can keep the government open and funded."

While Republicans have criticized the "Cromnibus" for providing funding for the Affordable Care Act -- the healthcare law commonly known as Obamacare -- and Obama's immigration reform, Democrats like Sen. Elizabeth Warren (D-MA) have also blasted it, saying a Republican-backed provision slipped in at the last minute allows the banking industry to recreate the circumstances that led to the recession of 2008.