By ALICIA A. CALDWEL and JILL COLVIN, Associated Press

WASHINGTON (AP) — President Donald Trump signed an executive order Friday that makes major changes to America's immigration system, sparking confusion at airports, protests around the country and denunciations from leaders around the world.

A look at what Trump ordered and the reaction:

___

NO ENTRY

Trump's executive order temporarily suspends all immigration for citizens of seven majority Muslim countries for 90 days. They are: Iraq, Syria, Iran, Sudan, Libya, Somalia and Yemen. The order also calls for Homeland Security and State department officials, along with the director of national intelligence, to review what information the government needs to fully vet would-be visitors and come up with a list of countries that don't provide it. The order says the government will give countries 60 days to start providing the information or citizens from those countries will be barred from traveling to the United States.

___

GREEN CARD HOLDERS AND DUAL CITIZENS:

Homeland Security Secretary John Kelly issued a statement Sunday declaring that, absent information indicating a serious threat to public safety and welfare, residency would be a "dispositive factor in our case-by-case determination." That means citizens of the seven target countries who hold permanent U.S. residency "green cards" will not be barred from re-entering the U.S., as officials had previously said.

Officials also clarified Sunday that dual citizens who are nationals of one of the seven target countries and a country that's not on the list will be subject to additional security screenings, but will likely be allowed through.

___

REFUGEES

Trump ordered a four-month suspension of America's refugee program. The suspension is intended to provide time to review how refugees are vetted before they are allowed to resettle in the United States.

Trump's order also cuts the number of refugees the United States plans to accept this budget year by more than half, to 50,000 people from around the world.

During the last budget year the U.S. accepted 84,995 refugees, including 12,587 people from Syria. President Barack Obama had set the current refugee limit at 110,000.

The temporary halt to refugee admissions does include exceptions for people claiming religious persecution, so long as their religion is a minority faith in their country.

___

SYRIA

Trump's order directs the State Department to stop issuing visas to Syrian nationals and halts the processing of Syrian refugees. That will remain in effect until Trump determines that enough security changes have been made to ensure that would-be terrorists can't exploit weaknesses in the current vetting system.

___

EXTREME VETTING

Trump's order did not spell out specifically what additional steps he wants to see the Homeland Security and State departments add to the country's vetting system for refugees. Instead he directed officials to the review the refugee application and approval process to find any other security measures that can be added to prevent people who pose a threat from using the refugee program.

During the Obama administration, vetting for refugees included in-person interviews overseas, where they provided biographical details about themselves, including their families, friendships, social or political activities, employment, phone numbers, email accounts and more. They also provided biometric information, including fingerprints. Syrians were subject to additional, classified controls that administration officials at the time declined to describe, and processing for that group routinely took years to complete.

___

THE RESPONSE AT HOME

Trump's order sparked an immediate backlash and sowed chaos and outrage, with travelers getting detained at airports, panicked families searching for relatives and protesters marching against the sweeping measure — parts of which were blocked by several federal courts.

Protests were held across the country, including in sight of the Statue of Liberty and Ellis Island in New York City and at international airports where travelers were temporarily detained.

___

THE RESPONSE ABROAD

Leaders of Britain and Germany joined other American allies in criticizing Trump's entry ban, voicing anger and dismay, even as some far-right politicians expressed hope the move would inspire similar measures in Europe. The far-right National Democratic Party in Germany, for instance, celebrated "the massive restriction on the entry of pseudo-refugees and Muslims to the USA."

A petition on the British Parliament's website, meanwhile, attracted hundreds of thousands of signatures backing its call for Trump, who has been invited to meet Queen Elizabeth II, to be barred on the basis of misogyny and vulgarity.