President Donald Trump denied Tuesday that his administration is once more preparing to separate migrant families in response to the surge in border crossings, telling reporters that he had ordered an end to a policy established under President Barack Obama.

โ€œIโ€™m the one who stopped it,โ€ Trump said. โ€œPresident Obama had child separation.โ€

Trump also told reporters at the Oval Office that he did not approve of the Border Patrol holding pens with chain-link partitions widely derided as โ€œcages,โ€ whose images exacerbated a backlash against the White House last spring at the height of its โ€œzero-toleranceโ€ prosecution push.

โ€œThose cages that were shown โ€” I think they were very inappropriate โ€” were by President Obamaโ€™s administration, not by Trump,โ€ the president said.

More than 2,700 children were separated from their parents last spring under the policy before the president reversed course amid a public outcry.

Under Obama, the separation of parents from their children at the border occurred on a far more limited basis than what the White House attempted last year.

The chain-link holding pens appeared in videos and photographs of underage migrants held at the Border Patrolโ€™s Central Processing Center in McAllen, Texas. The facility was established in a converted warehouse that the Obama administration opened in 2014 when record numbers of Central American minors arrived at the border, leaving Border Patrol stations overflowing.

Asked directly if he is planning to separate families again, the president said no. But he defended the effectiveness of the tactic as a deterrent to migration.

U.S. officials say courts have prohibited them from taking children from their parents for purposes of deterrence.

โ€œWeโ€™re not looking to do that, now,โ€ Trump said, adding that it brings โ€œa lot more people to the border when you donโ€™t do it.โ€

The Trump administration has argued that Central Americans have been gaming the U.S. asylum system, taking advantage of U.S. laws that aim to allow people to seek protection from persecution. Trump alleges that people are submitting false claims and that the U.S. immigration system is not tough enough on them. Those seeking asylum can be released into the United States while they await court hearings, some of which are months or years delayed due to a massive backlog. U.S. courts have limited the governmentโ€™s ability to hold families with children in detention.

โ€œNow Iโ€™ll tell you something, once you donโ€™t have it, thatโ€™s why you see many more people coming,โ€ Trump said, referring to family separations. โ€œThey are coming like itโ€™s a picnic, because, โ€˜Letโ€™s go to Disneyland.โ€™โ€

Trump also challenged claims that a spate of recent dismissals of top leaders in the Department of Homeland Security amounted to an attempt to clean house. He has expressed frustrations with the agency and its inability to reduce the number of migrants entering the country via the southern border. On Monday, the head of the U.S. Secret Service announced his departure, a day after DHS Secretary Kirstjen Nielsen said she was stepping down.

โ€œI never said Iโ€™m cleaning house,โ€ Trump said. โ€œI donโ€™t know who came up with that expression. We have a lot of great people over there. We have bad laws.โ€

The White House last week also abruptly yanked its nominee to lead U.S. Immigration and Customs Enforcement, and DHS officials say the White Houseโ€™s moves have left the department โ€œdecapitatedโ€ and in administrative disarray.

 Learn about The Texas Tribuneโ€™s policies, including our partnership with The Trust Project to increase transparency in news.