Donald Trump has named a new head of the nation’s border agency, despite his reported membership of a controversial private Facebook group that frequently posted anti-immigrant remarks.

The department of homeland security announced it was appointing Rodney Soctt to lead US Customs and Border Protection (CBP), the agency that oversees protection of the nation’s borders.

Under Mr Trump it has been accused by critics of carrying out a number of inhumane activities, including the separation of migrant children from their parents, and detaining people in harsh condition.

The outgoing head, Carla Provost, had been under pressure from politicians such as Alexandria Ocassio-Cortez, after it emerged she as part of a private Facebook group that often posted anti-immigrant messages.

But the new head of the agency, Rodney Scott, a. 27-year veteran of the agency and who helped oversee trials of prototypes Mr Trump’s border wall in his role as chief of the San Diego sector, was also reportedly a member of the Facebook group.

Trump prototypes for Mexico border wall demolished in California Show all 20 1 /20 Trump prototypes for Mexico border wall demolished in California Trump prototypes for Mexico border wall demolished in California The prototypes for President Trump’s border wall are being demolished. AP Trump prototypes for Mexico border wall demolished in California The US Customs and Border protection had built the eight 30-foot tall steel and concrete models near San Diego on the US-Mexico border. Reuters Trump prototypes for Mexico border wall demolished in California A 2018 report from the Government Accountability Office found that the construction challenges presented by the four concrete models would be “extensive” and those presented by two of the other models would be “substantial”. Reuters Trump prototypes for Mexico border wall demolished in California It was intended that Mr Trump would choose his favourite of the designs after testing had been completed. AFP/Getty Trump prototypes for Mexico border wall demolished in California The President is yet to comment. AFP/Getty Trump prototypes for Mexico border wall demolished in California Each prototype cost $300,000 to $500,000 to build and they are being knocked down in order to make way for the San Diego Secondary Wall project which will see up to 14 miles of barrier being built to support the existing steel border fence. AP Trump prototypes for Mexico border wall demolished in California The new barrier will not employ the design of any of the prototypes, instead being built of the favoured steel bollards which make up the current section of the wall at San Diego. Reuters Trump prototypes for Mexico border wall demolished in California The new secondary barrier being built near San Diego. Reuters Trump prototypes for Mexico border wall demolished in California The rubble of one of the demolished prototypes. Reuters Trump prototypes for Mexico border wall demolished in California A steel wall prototype AFP/Getty Trump prototypes for Mexico border wall demolished in California A wall prototype made from a mix of steel and concrete AFP/Getty Trump prototypes for Mexico border wall demolished in California A wall prototype made from a mix of steel and concrete AFP/Getty Trump prototypes for Mexico border wall demolished in California A concrete wall prototype AFP/Getty Trump prototypes for Mexico border wall demolished in California A steel wall prototype AFP/Getty Trump prototypes for Mexico border wall demolished in California A concrete wall prototype AFP/Getty Trump prototypes for Mexico border wall demolished in California A concrete wall prototype AFP/Getty Trump prototypes for Mexico border wall demolished in California A concrete wall prototype AFP/Getty Trump prototypes for Mexico border wall demolished in California A digger approaches the prototype wall AFP/Getty Trump prototypes for Mexico border wall demolished in California Aerial view of the wall prototypes at the US-Mexico border after they were torn down AFP/Getty Trump prototypes for Mexico border wall demolished in California An aerial view showing Tijuana, Mexico on the left and the demolished wall prototypes on the right AFP/Getty

The president visited the sector in 2018, and was photographed with Mr Scott, and imaged of the prototypes.

ProPublica was, last summer, the first to reveal the existence of the private group, in which current and former CBP agents “joked” about migrants’ deaths, and made threatening remarks about Democrats such as Ms Ocasio Cortez, who had accused the agency of running “concentration camps”.

Then The Intercept reported that Ms Provost was a member of the group, something she was obliged before a congressional heading in Washington.

She told the hearing, she had not known she was a member of the group, and had alerted her organisation’s office of professional responsibility, when she did so.

People scale US border wall in seconds - despite Trump insisting it 'can't be climbed'

“I am as outraged as everyone else when it comes to the statements that were made on that page,” she said.

The Intercept report said Mr Scott was also a member of the group. The Washington Examiner quoted one CBP official as saying even if he had not posted anything inappropriate, his membership was just as concerning as the of others.

“You had a bunch of agents that were a member ... they went and they removed themselves [when the story broke],” the official said.

“Rodney Scott was the only one that did not remove himself from the Facebook page. His attitude was, ‘I didn’t do anything wrong.’ His attitude was, ‘Who cares?’ His attitude was, ‘You know what, this is free speech’.”

The CBP did not immediately respond to enquires from The Independent about Mr Scott’s reported membership of the group.