Slideshow ( 4 images )

(In this Oct. 3 story, corrects typographical error in the number of beneficiaries from El Salvador in paragraph 6.)

WASHINGTON (Reuters) - A U.S. federal judge in California barred the Trump administration on Wednesday from implementing a plan to end temporary protections for more than 300,000 immigrants in the United States from El Salvador, Haiti, Nicaragua and Sudan.

U.S. District Judge Edward M. Chen issued a preliminary injunction in a suit brought by a number of immigrants with temporary protected status, or TPS.

The TPS designation offers protection from deportation to immigrants already in the United States, including those who entered illegally, from countries affected by natural disasters, civil conflicts and other problems.

The government has failed to establish any real harm if “the status quo (which has been in existence for as long as two decades) is maintained during the pendency of this litigation,” Chen wrote in the order.

“Indeed, if anything, Plaintiffs and amici have established without dispute that local and national economies will be hurt if hundreds of thousands of TPS beneficiaries are uprooted and removed,” he said.

There are more than 263,000 TPS beneficiaries from El Salvador, 58,000 from Haiti, 5,000 from Nicaragua and 1,000 from Sudan, according to court documents.

The Trump administration has shown a deep skepticism toward the temporary protected status program and has moved to revoke the special status afforded to thousands of immigrants from a number of countries, including the four named in the suit.

Salvadoran immigrants covered by TPS will lose their protected status in September 2019, those from Haiti in July 2019, Nicaraguan immigrants in January 2019 and Sudanese immigrants in November 2019.