A federal judge has ordered that an Iranian man deported after President Trump Donald John TrumpHR McMaster says president's policy to withdraw troops from Afghanistan is 'unwise' Cast of 'Parks and Rec' reunite for virtual town hall to address Wisconsin voters Biden says Trump should step down over coronavirus response MORE’s executive order be returned to the United States, according to a report in The Washington Post.

Ali Khoshbakhti Vayeghan was put on a plane to Dubai before the judge issued the order.

Vaveghan was deported after Trump's order came out suspending entry to the U.S. from people from Iran and six other mostly Muslim nations.

ADVERTISEMENT

In a court order on Sunday, U.S. District Judge Dolly M. Gee said Vayeghan's deportation likely violated U.S. law and the Constitution.

He "demonstrated a strong likelihood of success in establishing that removal violates the Establishment Clause, the Immigration and Nationality Act, and his rights to Equal Protection guaranteed by the United States Constitution," the order said.

The order said Vayeghan had a valid United States visa.

The man had been detained at Los Angeles International Airport, according to a report in the Los Angeles Times. The newspaper said Vayeghan was on a plane to Tehran by the time the judge issued the order.

Multiple people were detained over the weekend as officials sought to comply with Trump’s new executive order, which called for a 90-day ban on nationals from seven predominantly Muslim countries, including Iran, entering the United States.

The order also includes a 120-day ban on admitting refugees and an indefinite halt on admitting refugees from war-torn Syria.

Groups like the American Civil Liberties Union have intervened on behalf of some of those detained, including Vayeghan.