There won't be a government shut down, at least for now.

The House on Thursday approved a $984 billion bill to fund the federal government through Sept. 30, the end of the fiscal year.

The bill leaves in place the controversial spending cuts imposed by sequestration, about $85 billion in across-the-board domestic and military spending cuts. But it includes provision that allowed the Pentagon and other agencies to shift around funding so that essential training, defense needs and other programs remain funded.

Lawmaker voted 318 to 109 to approve the legislation a day after the Senate approved it.

President Obama, who is traveling in Israel, is expected to sign the funding bill and has six days to do so. The current stopgap spending bill now keeping the government open runs out on March 27.

"Our goal is to cut spending and balance the budget to help our economy grow," House Speaker John Boehner, R-Ohio, said. "Passing this measure allows us to keep our focus where it belongs - replacing the president's sequester with smarter cuts that help balance the budget, fixing our broken tax code to create jobs and increase wages, protecting priorities like Medicare, and expanding opportunity for all Americans."