Senate Minority Leader Mitch McConnellMitch McConnellGOP grapples with repeal of popular ObamaCare policy New DNC chairman wastes no time going after Trump Dem 2020 hopefuls lead pack in opposing Trump Cabinet picks MORE (R-Ky.) also hailed the spending measure as a step in the right direction. 

"The $4 billion cut in the current fiscal year is a small step, but it is indeed a step in the right direction,” said McConnell. “This is a long-awaited acknowledgement by Democrats in Congress that we have a spending problem around here.”

Not everyone was so pleased. 

Sen. Mike LeeMike LeeLessons from the godfather of regulatory budgeting Congress must reform civil asset forfeiture laws A guide to the committees: Senate MORE (R-Utah) was one of only five Republicans to oppose the measure because, he said, it did not cut enough.

"The proposal is a disappointing failure on the part of both parties to seriously address the economic meltdown we face from our massive deficit and growing national debt," Lee said in a statement.

Sen. Bernie SandersBernie SandersLewandowski: Perez ‘doesn’t understand what’s going on in America’ Sanders dodges question on whether he will give email list to DNC Sanders: Ellison ran impressive campaign 'playing inside the establishment's house' MORE (I-Vt.) also delivered a long speech on the Senate floor in which he accused Republicans of attempting to "balance the budget on the backs of the poor, the elderly and the sick."

The measure will now be sent to the White House for President Obama’s signature.

Senators who voted against the measure were Orrin HatchOrrin HatchHow to marry housing policy and tax reform for millions of Americans Though flawed, complex Medicaid block grants have fighting chance A guide to the committees: Senate MORE (R-Utah), Mike Lee (R-Utah), Rand PaulRand PaulConquering Trump returns to conservative summit Rand Paul rejects label of 'Trump's most loyal stooge' GOP healthcare plans push health savings account expansion MORE (R-Ky.), Jim RischJim RischA guide to the committees: Senate Ryan tries to save tax plan Senate GOP votes to silence Warren after speech against Sessions MORE (R-Idaho) Mike CrapoMike CrapoA guide to the committees: Senate Time for the feds to deregulate gun suppressors Senate votes to repeal transparency rule for oil companies MORE (R-Idaho), Patty MurrayPatty MurrayA guide to the committees: Senate Overnight Healthcare: Trump officials weigh fate of birth control mandate | House, DOJ seek delay in ObamaCare lawsuit Top lawmakers from both parties: 'Vaccines save lives' MORE (D-Wash.), Tom HarkinTom HarkinGrassley challenger no stranger to defying odds Clinton ally stands between Sanders and chairmanship dream Do candidates care about our health or just how much it costs? MORE (D-Iowa), Carl LevinCarl LevinA package proposal for repatriation Silencing of Warren another example of hyperpartisan Senate GOP going nuclear over Gorsuch might destroy filibuster forever MORE (D-Mich.) and Sanders (I-Vt.).