The House passed the bill by a vote of 370-48, now it just needs President Donald Trump to sign it.

With just a few weeks to spare, the House approved legislation extending funding through mid-December.

The legislation, which already passed the Senate, now goes to President Donald Trump to become law, checking off the main item on Congress’ to-do list ahead of the midterms.