House Republicans voted Thursday to send the Senate a huge, $2 trillion package of spending bills for fiscal year 2018, which includes the GOP's request to spend $1.6 billion on the border wall in fiscal year 2018.

The package includes all 12 annual spending bills, which were all rolled into one bill after being passed in two pieces.

In July, the House passed the first piece, which covered defense, homeland security, energy and water and military construction and veterans affairs. That $790 billion bill also included $1.6 billion in border wall funding.

On Thursday, the House passed the second piece, which covered all remaining federal agencies and would spend about $1.2 trillion. Lawmakers passed this bigger piece in a 211-198 vote.

With that vote, the two pieces were combined, and were set to be sent over to the Senate for its consideration.

It's the second time the House has sent the border funding language to the Senate. When the defense and homeland security portion of the bill passed in July, it was sent to the Senate. Now, that language will be sent again as part of the combined measure.

"We're knocking on the door twice," said one GOP aide.

The Senate, however, is expected to run into problems taking on the giant spending bill. Democrats are known to oppose language on border funding, and the defense portion of the bill spends $72 billion more than what's allowed under existing budget caps.

Democrats made clear again their opposition to the border wall, after reaching an understanding with President Trump about how to legislation a solution for so-called Dreamers who were brought to the U.S. illegally as children. Democrats said they would support a bill protecting the Dreamers that includes language boosting border security, but said that bill could not include language that builds a border wall.

Trump himself said GOP leaders in the House and Senate are " on board" with that kind of agreement.

If that deal holds, Republicans might only be able to get money for a border wall as part of a spending bill for 2018.

But Democratic opposition makes it unclear if that can happen, or when. The House-passed spending package won't have to be immediately taken up in the Senate, because Congress last week passed a bill allowing the federal government to spend money through Dec. 8.