President Joe Biden is considering an immigration crackdown that closes the border if more than 8,500 try to cross in one day, a law repeatedly used by former President Donald Trump.

The law would, if the migrant crisis reached those numbers per day, unilaterally enact a sweeping ban at the southern border, according to three people familiar with the deliberations.

The administration, stymied by lawmakers who rejected a negotiated border bill earlier this month, has been exploring options that Biden could deploy on his own without congressional approval.

House Speaker Mike Johnson has repeatedly called on President Biden to use the 212(f) authority.

The immigration authority the administration has been looking into is outlined in Section 212(f) of the Immigration and Nationality Act, which gives a president broad leeway to block entry of certain immigrants into the United States if it would be ‘detrimental’ to the national interest of the United States.

Trump, who is the likely GOP candidate to face off against Biden this fall, repeatedly leaned on the 212(f) power while in office, including his controversial ban to bar travelers from Muslim-majority nations.

Biden rescinded that ban on his first day in office through executive order after Democrats were enraged and blasted Trump over the policy.

But now, how Biden would deploy that power to deal with his own immigration challenges is currently being considered, and it could be used in a variety of ways, according to the people familiar with the discussions.

For example, the ban could kick in when border crossings hit a certain number. That echoes a provision in the Senate border deal, which would have activated expulsions of migrants if the number of illegal border crossings reached above 5,000 daily for a five-day average.

Yet the comprehensive immigration overhaul Biden also introduced on his first day in office – which the White House continues to tout – includes provisions that would effectively scale back a president´s powers to bar immigrants under that authority.

The exploration of such avenues by Biden´s team underscores the pressure the president faces this election year on immigration and the border, which have been among his biggest political liabilities since he took office.

For now, the White House has been hammering congressional Republicans for refusing to act on border legislation that the GOP demanded, but the administration is also aware of the political perils that high numbers of migrants could pose for the president and is scrambling to figure out how Biden could ease the problem on his own.