The House of Representatives has given the green light to a Republican-led immigration-enforcement bill worth $70 billion, thereby putting an end to a long-standing impasse over this segment of federal expenditure.

The bill was passed on Tuesday with a slim majority of 214-212.

This follows the Senate's approval of funding for the agencies last week, achieved through a special budget process that allowed Republicans to circumvent the 60-vote threshold typically required for most bills.

Congress previously secured funding for the bulk of the Department of Homeland Security (DHS), though Democratic lawmakers blocked funding for Immigration and Customs Enforcement (ICE) and Border Patrol.

The measure is expected to provide financing for those agencies through the end of President Donald Trump's second term.