The U.S. Senate handed President Donald Trump a victory early Friday morning, passing a bill that would provide the Department of Homeland Security with an additional $70 billion US for immigration enforcement and sending it to the House of Representatives for final consideration.

The bill to fund federal immigration agencies was passed after several bipartisan amendments to block Trump’s “anti-weaponization” fund were defeated.

The Senate passed legislation to fund President Donald Trump’s immigration enforcement agencies early Friday morning.

The rocky path it took to pass the bill has deepened a rift with the White House and stretched Senate Republicans to their limit.