WASHINGTON — Republican Senator Rob Portman and Democrat Sherrod Brown joined 81 other senators Thursday to approve the final version of a spending bill that will keep the federal government open.

The U.S. House is expected to approve the same measure and send it to President Donald Trump for his signature.

The Senate passed the bill 83 to 16. It would finance the operations of nine federal agencies through the end of September, provide $1.4 billion to build a 55-mile barrier along the Mexican border, and allocate another $22.5 billion for additional security measures aimed at curbing illegal immigration.

Trump has vowed to declare a national emergency on the border, which would allow him to spend money from other accounts, including the defense budget.

"Any effort to take funding away from our military to support the president’s vanity project is reckless and irresponsible," Brown said.