The US Supreme Court has allowed President Donald Trump's administration to implement asylum restrictions that prevent most Central American migrants from applying at the US border.

The decision, which is temporarily in effect while lower court proceedings play out, is a victory for Mr Trump's restrictive immigration policies.

He has made the policy a central pillar of his presidency, but it has been repeatedly challenged in court.

The top court stayed a decision by a lower court that had blocked the restrictions.

The restrictions declare ineligible for asylum any migrants who enter the United States from the southern border and who have not asked for asylum protection in any of the countries they crossed to get to there.

Justice Sonia Sotomayor, dissenting from the decision, wrote that: "Once again the Executive Branch has issued a rule that seeks to upend longstanding practices regarding refugees who seek shelter from persecution.

"In effect, the rule forbids almost all Central Americans ... to apply for asylum in the United States if they enter or seek to enter through the southern border, unless they were first denied asylum in Mexico or another third country."

We need your consent to load this rte-player contentWe use rte-player to manage extra content that can set cookies on your device and collect data about your activity. Please review their details and accept them to load the content.Manage Preferences

Mr Trump took to Twitter to hail the move, saying: "BIG United States Supreme Court WIN for the Border on Asylum!"

The decision "greatly helps build on the progress we've made addressing the crisis at our southern border and will ultimately make American communities safer," White House Principal Deputy Press Secretary Hogan Gidley said in a statement.

"This is just a temporary step, and we're hopeful we'll prevail at the end of the day," said Lee Gelernt, an attorney with the American Civil Liberties Union, one of the groups challenging the asylum restrictions.

"The lives of thousands of families are at stake," Mr Gelernt said in a statement.

The asylum restrictions target the flow of migrants from Central America and other countries who have tried to cross into the United States from Mexico and request asylum.

These requests -- often made by families saying they have fled endemic violence and poverty in their countries -- allow the applicants to remain in the United States and to move around freely while their cases are adjudicated, which can take two years.

The policy is among a host of measures Mr Trump has taken in a bid to stem the flow of migrants, including the deployment of troops at the southern border.

The Pentagon said on Tuesday that it would keep up to 5,500 military members at the border for the coming year to help combat illegal immigration.

It has also announced that it would divert $3.6bn in funds for construction of an anti-migrant wall on the frontier, which Mr Trump repeatedly promised that Mexico would pay for.

The diversion of the Pentagon funds to border wall construction was justified under a controversial emergency declaration made by Mr Trump after Congress repeatedly denied the president money for the project.

Mr Trump has also pressured Mexico to take action, threatening in May to impose tariffs on all of the country's goods, gradually rising as high as 25%, if it did not do more to stop the flow of migrants.

Mexico said last week that it has slashed undocumented migration to the United States by 56% since May, and the steps it has taken have drawn praise from Washington.