The Associated Press reports bitterly admitting defeat, the Republican-controlled Congress sent legislation to President Barack Obama on Tuesday that funds the Department of Homeland Security without any of the immigration-related concessions they demanded for months. Obama promised to sign the bill as soon as he received it, while criticizing Congress for taking "far too long" to pass it. "Sanity is prevailing," said Rep. Peter King, R-N.Y., a former chairman of the Homeland Security Committee, before the House voted 257-167 in favor of the $40 billion spending bill. All 182 Democrats present voted for the bill, while it received only 75 Republican "yes" votes. The outcome averted a partial agency shutdown which would have begun Friday at midnight. It was a major victory for Obama and the Democrats, and a wholesale retreat for Republicans, who have spent months railing against an "unconstitutional overreach" by Obama in extending deportation stays and work permits to millions of immigrants in this country illegally.