(WASHINGTON) — The House passed the Republicans’ short-term government funding bill on Friday ahead of the Sept. 30 deadline to avert a shutdown.

The final tally was 217-212. Ultimately, all but two Republicans supported the President Donald Trump-backed spending bill. Reps. Thomas Massie and Victoria Spartz voted no.

Nearly all Democrats who were present voted against the measure though Rep. Jared Golden of Maine voted in favor.

The funding bill now heads to the Senate where its fate is uncertain as Democratic support is necessary for passage.

Ahead of the vote, Democrats signaled they would vote to shut down the government if Republicans didn’t cave to Democratic demands to restore cuts to Medicaid and extend Obamacare subsidies set to expire at the end of the year.

House Speaker Mi

See Full Page