A major ruling from the Supreme Court could impact thousands of immigrants looking to stay in the United States.The court ruled President Donald Trump does have the authority to end temporary legal status for Haitians and Syrians. The ruling is seen as a win for the federal government, but immigration rights advocates say they’re worried about how this ruling will be used in the future, including in Maine. Policy director at the Immigrant Legal, Lisa Parisio, said a TPS is used by at least 700 people in Maine, including several hundred with Haitian and Syrian designations. “This decision paves the way to impact all of these folks here in Maine and all of their families and their workplaces,” Parisio said.A TPS allows someone to stay in the United States if they cannot return to their home country safely. The protection has been used for years.While some disagree with the court’s decision, others are celebrating.In a statement to ABC News, the Department of Homeland Security’s general counsel applauded the ruling. “The T in TPS stands for TEMPORARY, yet many of these designations became de facto amnesty. This is a win for the rule of law and common sense,” James Percival said in a statement.U.S. Citizenship and Immigration Services says a TPS does not lead to permanent residency.Immigration Attorney Todd Pomerleau says he’s had clients who have been in the U.S. for decades on a TPS.”You basically have a work permit and a social Security number, but you don’t really have any type of permanent status,” Pomerleau said. “You’re just in limbo.”Pomerleau says the ruling gives the federal government the roadmap for ending the protective status for other nations that currently have a TPS. “It wouldn’t surprise me to see it ended for every nation that has it,” Pomerleau said.

A major ruling from the Supreme Court could impact thousands of immigrants looking to stay in the United States.

The court ruled President Donald Trump does have the authority to end temporary legal status for Haitians and Syrians.

The ruling is seen as a win for the federal government, but immigration rights advocates say they’re worried about how this ruling will be used in the future, including in Maine.

Policy director at the Immigrant Legal, Lisa Parisio, said a TPS is used by at least 700 people in Maine, including several hundred with Haitian and Syrian designations.

“This decision paves the way to impact all of these folks here in Maine and all of their families and their workplaces,” Parisio said.

A TPS allows someone to stay in the United States if they cannot return to their home country safely. The protection has been used for years.

While some disagree with the court’s decision, others are celebrating.

In a statement to ABC News, the Department of Homeland Security’s general counsel applauded the ruling.

“The T in TPS stands for TEMPORARY, yet many of these designations became de facto amnesty. This is a win for the rule of law and common sense,” James Percival said in a statement.

U.S. Citizenship and Immigration Services says a TPS does not lead to permanent residency.

Immigration Attorney Todd Pomerleau says he’s had clients who have been in the U.S. for decades on a TPS.

“You basically have a work permit and a social Security number, but you don’t really have any type of permanent status,” Pomerleau said. “You’re just in limbo.”

Pomerleau says the ruling gives the federal government the roadmap for ending the protective status for other nations that currently have a TPS.

“It wouldn’t surprise me to see it ended for every nation that has it,” Pomerleau said.