Mass.

Gov.

Charlie Baker has signed an executive order that bars people from the seven countries from traveling to the state of Massachusetts and bans travelers from Iran, Iraq, Libya, Somalia, Sudan, Syria and Yemen.

It is a temporary suspension that is set to expire on Nov. 8.

The executive order also says it will be “in place for two years from the date of the enactment of this act.”

Baker signed the order in the wake of an FBI investigation that found the Boston Marathon bombings had been orchestrated by the Russian government.

The order says people from those seven countries will be banned from entering the United States for 90 days, which would include individuals who enter the country on their own, have been charged with a crime, or are subject to court orders.

It also says those individuals must register with the U.S. Citizenship and Immigration Services, undergo an identity check and obtain a travel document from a U. S. official within three days of arriving in the country.

It says those detained for at least 90 days can apply for asylum.

Those detained for more than 90 days will be subject to additional restrictions, including those in the “travel and tourism” category, including limited access to electronic devices and restricted access to public transportation.

The Executive Order says those who do not comply will be detained and deported.

The governor has said that in the next three months, he would ask Congress to reauthorize the visas and reauthorization would be required in the face of the terrorist threat posed by foreign-born extremists.

The ban will affect travelers from Afghanistan, Iraq and Iran, but not anyone from the United Arab Emirates, Somalia or Sudan.

The travel ban was first proposed by President Donald Trump.