(NEW YORK) -- A federal court in Brooklyn Saturday night granted an emergency stay on President Trump's executive order that bans immigration from seven predominantly Muslim countries for two Iraqi men who had valid visas to enter the United States but were detained Saturday when they arrived in New York.
Trump's order calls for an immediate suspension of immigration from countries with ties to terror, including Syria, Yemen, Sudan, Somalia, Iraq, Iran and Libya, for a time period of 90 days. It also calls for the complete suspension of Syrian refugees for an indefinite period.
The ACLU, which had filed the challenge on behalf of the two men, contended that the stay applied nationally to all cases, but that was not clear from the ruling. ABC News was attempting to clarify whether that was the case.
The ruling does not appear to overturn administration policy, but does appear to apply to all of those people currently detained at airports across the country who were facing imminent deportation. The judge asked repeated questions of the federal prosecutors charged with defending the executive order, but they were unable to provide numbers of people who were facing the prospect of returning to a country where there lives would be in danger.
The order came as protests spread to airports across the country, after after at least 27 passengers were detained or sent home from four different airports, and hundreds of people around the world were barred from boarding U.S.-bound flights.
Hundreds of people turned out at John F. Kennedy International Airport to protest the president's order, chanting "No hate, no fear, refugees are welcome here. No hate, no fear, Musims are welcome here."
In New York, the protesters received statements of support from local politicians, including Gov. Andrew Cuomo and Sen. Chuck Schumer.
Hundreds also gathered outside the Brooklyn federal courthouse where the emergency hearing was called on the ACLU's legal challenge brought on behalf of the two Iraqi men who were detained at JFK Airport this morning. The two men were targeted for their assistance or connections to the U.S. military and were approved for resettlement in the United States.
The two Iraqis who were detained at John F. Kennedy International Airport in New York City have been released, according to officials, but 10 people were still detained at the airport, the officials said. Other passengers were detained or sent home from Chicago O'Hare International Airport, Dallas/Fort Worth International Airport, and Philadelphia International Airport, according to officials in those cities.
One of the Iraqis detained at JFK, Hameed Jhalid Darweesh, was released early Saturday and left with New York Reps. Nydia Velazquez and Jerry Nadler, who joined more than 100 protesters that assembled there. The other, Haider Sameer Abdulkhaleq, was released Saturday evening, shortly before the order from the federal court for the Eastern District of New York.
Darweesh expressed his gratitude for those who supported him while he was detained.
"America is the land of freedom," Darweesh said. "The land of freedom, the land of the rights. This is what brought me to come here, and I'm very thankful."
Neither Darweesh nor Abdulkhaleq are technically refugees according to the definition in the president's executive order but appear to have come to the U.S. on visas, a Trump administration official tells ABC News.
In Seattle, members of Congress from Washington state, Washington Governor Jay Inslee, and Seattle Mayor Ed Murray all spoke out against the executive order.
The executive order contains a caveat that allows certain individuals to be admitted to the country if there is a national security interest in doing so, and these two may be eligible for such an exemption, which must be agreed upon by the State and Homeland Security Departments, but the process by which this happens is unclear.
At least one person was detained at O'Hare International Airport in Chicago on Saturday, and it is expected that she will return to Saudi Arabia, according to the Council on American Islamic Relations (CAIR).
Sahar Alghnimi, a Syrian woman who came to the U.S. on tourist visa to see her mother who had just undergone cancer surgery, was detained when she arrived from Saudi Arabia at 8:48 AM on Eithad Airlines, CAIR Chicago executive director Ahmed Rehab told ABC News.
Alghnimi had been to the U.S. several times before and has a valid visa, Rehab said.
In Philadelphia, two Syrian families were detained.
Mayor Jim Kenney issued a statement on Trump's executive order, suggesting that the detentions were carried out by U.S. Customs and Border Patrol.
In Dallas, nine people have been detained, according to a media representative of CAIR.
Ripple effects from the executive order are also being felt in multinational technology companies.
Google CEO Sundar Pichai circulated a staff memo, obtained by Bloomberg News, in which he criticized Trump's action and suggested that some of the firm's employees and their families could be affected by it.
Likewise, several colleges advised foreign students and scholars who might be affected by Trump's order to defer travel outside of the U.S. at least until there is more clarity on how the order may affect them.
Trump categorized the executive order as part of a vetting plan to prevent "radical Islamic terrorists" from reaching American soil.
The seven-page document calls for an immediate suspension of immigration from countries with ties to terror -- Syria, Yemen, Sudan, Somalia, Iraq, Iran and Libya -- for a time period of 90 days. But none of the countries on the list have had anything to do with terror incidents on U.S. soil since the 9/11 attacks, and Saudi Arabia -- where 15 of the 9/11 hijackers were from -- is not included.
It also calls for the complete suspension of Syrian refugees for an indefinite period. It also calls on the secretary of state to suspend the entire U.S program for admitting refugees for 120 days while authorities review the application and adjudication process.
Green card holders, who are legal residents of the United States, also fall under Trump's executive order on immigration if they come from any of the seven Muslim-dominated countries from which immigration is temporarily banned, according to a senior administration official who spoke to ABC News.
Trump told the the Christian Broadcasting Network that Christian refugees would be given priority over Muslims in applications to come to the U.S.
"We are going to help them," Trump said of Christians in Syria.
Copyright © 2017, ABC Radio. All rights reserved.