President Donald Trump signed a $4.6 billion bill on Monday, July 1, providing funds to help the federal government deal with border issues.

The version of the legislation, originating in the Republican-controlled Senate, will provide nearly $3 billion in humanitarian aid and security measures at the U.S.-Mexico border.

“Now what we want to do is we have to do another bill for border security and all of this will go away,” the president said after signing the bill in Oval Office at the White House.

The legislation was sent to President Trump’s desk on Thursday after the Senate voted 84-8 on it on June 26. House Speaker Nancy Pelosi (D-Calif.) accepted the Senate’s version, though she initially said Democrats would not engage in negotiations on the bill, according to United Press International.

On June 25, the House passed a different version of the bill, which contained tougher requirements for treating detained migrant children, but it did not pass the Senate.

Senate Majority Leader Mitch McConnell (R-Ky.) at that time said the House bill “a go-nowhere proposal filled with poison-pill, riders which the president would veto.”

The U.S. border crisis is on track to be the worst in a decade as border migrant apprehensions have been surging in 2019.

Data from the Customs and Border Protection (CBP) shows migrant arrests between ports of entry on the U.S.-Mexico border hit new highs at 132,887 people in May 2019, surging from 99,304 in April and 92,840 in March.