Here’s what we know:

On Friday, Trump signed an order banning travel from seven Muslim-majority countries for 90 days and suspending all refugee admission for 120 days.

The countries affected are Iran, Iraq, Syria, Sudan, Libya, Yemen and Somalia, according to a White House official. It also caps the total number of refugees admitted into the United States during the 2017 fiscal year at 50,000, down more than half from the current level of 110,000.

“I am establishing new vetting measures to keep radical Islamic terrorists out of the United States of America,” Trump said during the signing at the Pentagon. “We don’t want them here.”

The order caused confusion at the nation’s airports Saturday as some people from those countries were detained as they arrived in the US. It also led to protests at a number of US airports in support of immigrants and against the order.

As of Saturday night, 109 people had not been allowed into the United States on the basis of the executive order, according to the Department of Homeland Security. It is unclear how many of those people are currently being detained and how many were sent away.

In the courts

A federal judge in New York granted an emergency stay Saturday night for citizens of the seven Muslim-majority countries who have already arrived in the United States and for those who are in transit and who hold valid visas. The judge ruled they cannot be removed from the US — a decision that halts Trump’s executive order barring citizens from those countries from entering the US for the next 90 days.

“The petitioners have a strong likelihood of success in establishing that the removal of the petitioner and others similarly situated violates their due process and equal protection guaranteed by the United States Constitution,” US District Judge Ann Donnelly wrote in her decision.

“There is imminent danger that, absent the stay of removal, there will be substantial and irreparable injury to refugees, visa-holders, and other individuals from nations subject to the January 27, 2017, Executive Order,”the ruling said.

The ACLU argued Saturday evening in federal court in New York for a nationwide stay that would block the deportation of all people stranded in US airports under what the organization called “President Trump’s new Muslim Ban.”

The civil rights group is representing dozens of travelers held at JFK International Airport Friday and Saturday, including two Iraqis with ties to the US military who had been granted visas to enter the United States.

The ruling does not necessarily mean the people being held at airports across the US are going to be released, said Zachary Manfredi of Yale’s Worker and Immigrant Rights Advocacy Clinic, who helped draft the emergency stay motion. “The judge’s order is that they (lawful visa/green card holders) not be removed from the US — it doesn’t immediately order that they be released from detention,” he told CNN.

In addition to Donnelly’s ruling in New York:

–A federal court in Washington state has issued a stay forbidding travelers being detained there from being sent back to their home country. Meanwhile a federal court in Virginia has issued a temporary restraining order saying a group of 50 to 60 permanent residents returning from trips abroad should have access to lawyers while they are being detained at Dulles International Airport and that these residents cannot be removed from the United States for seven days.

–Federal judges in Boston ruled early Sunday that officials may not detain a person on the basis of President Trump’s executive order. This ruling was made after the ACLU of Massachusetts filed a lawsuit asking for the release of two associate professors at the University of Massachusetts-Dartmouth, both Iranian nationals who are permanent residents of the United States.

The Department of Homeland Security said on Sunday it will comply with judicial orders not to deport detained travelers.

President Trump’s comments

Asked during a photo opportunity in the Oval Office Saturday afternoon about the rollout of the executive order, Trump said his government was “totally prepared.”

“It’s working out very nicely,” Trump told reporters. “You see it at the airports. You see it all over. It’s working out very nicely and we’re going to have a very, very strict ban, and we’re going to have extreme vetting, which we should have had in this country for many years.”

The policy team at the White House developed the executive order on refugees and visas, largely avoiding the traditional inter-agency process that would have allowed the Justice Department and Homeland Security agencies to provide operational guidance, according to numerous officials who spoke to CNN on Saturday.

Homeland Security Secretary John Kelly and Department of Homeland Security leadership saw the final details shortly before the order was finalized, government officials said.

Airport protests

Protesters gathered at airports across the United States on Saturday to complain about President Trump’s immigration policies. More protests are expected on Sunday.

In New York City, a large crowd gathered at JFK International Airport to protest the detention of two Iraqis who were later released.

“Mr. President, look at us,” said US Rep. Nydia Velazquez, a New York Democrat. “This is America. What you have done is shameful. It’s un-American.” The protesters gathered in Terminal 4 at JFK and carried signs reading, “We are all immigrants!” and “No ban! No wall!”

Several New York officials showed support for the protests.

Virginia Gov. Terry McAuliffe joined protesters at Dulles International Airport outside Washington, D.C. “This Executive Order is antithetical to the values that make America great, and it will make our country less safe,”he said in a statement.

In Portland, Oregon, one demonstrator carried a sign that read, “Portland coffee comes from Yemen,” one of the seven Muslim-majority nations on the no-travel list.

A group of community activists, attorneys and others gathered at O’Hare International Airport in Chicago. Protests also took place at airports in Newark, NJ; Boston; San Francisco; Denver, Colorado and Dallas. Protests were scheduled for Sunday in Orlando, Boston, Philadelphia, Atlanta, Seattle, northern Virginia and Chicago.

Additionally, some US-bound travelers who were either refugees or from countries specified in Trump’s executive order have been turned back from Cairo International Airport, according to a Cairo airport official who is not authorized to speak to the media. The official said they were required to follow the instructions of the United States in the matter. He said “(Airport personnel) have no choice but to follow orders. I don’t want to blame anyone here.”