The revised version of President Donald Trump's travel restrictions is set to come into effect Thursday night with new criteria for visa applicants from six Muslim-majority countries and refugees fleeing persecution.

The strict news rules come after the Supreme Court partially restored Trump's executive order on Monday, following months of legal battles and it being widely criticized as a ban on Muslims.

The court ruling means Trump can place a 90-day ban on new visa applicants from Syria, Sudan, Somalia, Libya, Iran and Yemen if they can't prove they have a close relationship someone living in the US (like a spouse) or an entity (like a school or job).

A refugee from any country can be banned for 120 days if they can't establish such a close relationship.

The revised version of President Donald Trump's travel restrictions is set to come into effect Thursday night with new criteria for visa applicants from six Muslim-majority countries

Visas that have already been approved will not be revoked.

A parent, spouse, child, adult son or daughter, son-in-law, daughter-in-law or sibling already in the United States will be accepted as a close relationship under the new rules.

WHO IS ALLOWED INTO THE US UNDER NEW RULES: New visa applicants from the six listed countries need to prove they have a 'bona fide relationship' with someone or an entity in the US. Relationships that ARE acceptable include a parent, spouse, child, adult son or daughter, son-in-law, daughter-in-law or sibling. Grandparents, grandchildren, aunts, uncles, nieces, nephews, cousins, brothers-in-law and sisters-in-law, fiancees or other extended family members are NOT considered to be close relationships. Same requirement, with some exceptions, holds for refugees from all nations who are still awaiting approval for admission to the US. Journalists students, workers or lecturers who have valid invitations or employment contracts in the US are exempt. Visas that have already been approved will NOT be revoked. A legitimate business link must be formal and documented. Hotel or car rental reservations do NOT count as a legitimate relationship. Advertisement

Grandparents, grandchildren, aunts, uncles, nieces, nephews, cousins, brothers-in-law and sisters-in-law, fiancees or other extended family members are not considered to be close relationships, according to the guidelines that were issued in a cable sent to all US embassies and consulates late on Wednesday.

The new rules take effect at 8pm EDT on Thursday.

As far as business or professional links are concerned, the State Department said a legitimate relationship must be 'formal, documented and formed in the ordinary course rather than for the purpose of evading' the ban.

Journalists, students, workers or lecturers who have valid invitations or employment contracts in the US would be exempt from the ban.

The exemption does not apply to those who seek a relationship with an American business or educational institution purely for the purpose of avoiding the rules, the cable said.

A hotel reservation or car rental contract, even if it was pre-paid, will also not count.

Consular officers may grant other exemptions to applicants from the six nations if they have 'previously established significant contacts with the United States' or 'significant business or professional obligations' in the US.

Exemptions can also be granted if they are an infant, adopted child or in need of urgent medical care; if they are traveling for business with a recognized international organization or the US government or if they are a legal resident of Canada who applies for a visa in Canada.

Trump can place a 90-day ban on new visa applicants from Syria, Sudan, Somalia, Libya, Iran and Yemen if they can't prove they have a relationship with an immediate relative in the US

The original travel ban executive order triggered worldwide outrage as well as protests (above) in the United States like this one at New York City's John F. Kennedy International Airport

Critics said they are watching closely to see how the guidelines are used.

'Initial reports suggest that the government may try to unilaterally expand the scope of the ban - for example, by arbitrarily refusing to treat certain categories of familial relationships as 'bona fide.' These reports are deeply concerning. We are watching for official word,' said Omar Jadwat, director of the ACLU's Immigrants' Rights.

WHEN CAN OFFICIALS GRANT EXEMPTIONS? If the applicant has previous significant contacts or business obligations in the US. Exemptions can also be granted for infants, adopted children or those in need of urgent medical care. If an applicant is traveling for business with a recognized international organization or the US government If they are a legal resident of Canada who applies for a visa in Canada Advertisement

On Monday, the Supreme Court partially lifted lower court injunctions against Trump's executive order that had temporarily banned visas for citizens of the six countries.

The justices' ruling exempted applicants from the ban if they could prove a 'bona fide relationship' with a US person or entity, but the court offered only broad guidelines - suggesting they would include a relative, job offer or invitation to lecture in the US - as to how that should be defined.

Senior officials from the departments of State, Justice and Homeland Security had labored since the decision to clarify the ruling and Wednesday's instructions were the result.

The new guidance will remain in place until the Supreme Court issues a final ruling on the matter. Arguments before the justices will not be held until at least October, so the interim rules will remain in place at least until the fall.

Shortly after taking office, Trump ordered the refugee ban and a travel ban affecting the six countries, plus Iraq.

Trump launched a nationwide controversy by signing an executive order (above) a week after his inauguration, barring the entry of refugees and other travelers from the six countries

He said it was needed to protect the US from terrorists, but opponents said it was unfairly harsh and was intended to meet his campaign promise to keep Muslims out of the United States.

After a federal judge struck down the bans, Trump signed a revised order intended to overcome legal hurdles. That was also struck down by lower courts, but the Supreme Court's action Monday partially reinstated it.

The initial travel ban led to chaos at airports around the world, but because the guidelines exempt previously issued visas, similar problems are not expected. After a judge blocked the original ban, Trump issued a scaled-down order and the court's action Monday further reduced the number of people who would be covered by it. Also, while the initial order took effect immediately, adding to the confusion, this one was delayed 72 hours after the court's ruling.

Under the new rules, would-be immigrants from the six countries who won a coveted visa in the government's diversity lottery - a program that randomly awards 50,000 green cards annually to people from countries with low rates of immigration to the United States - will also have to prove they have a 'bona fide relationship' with in the US or are eligible for another waiver or face being banned for at least 90 days. That hurdle may be a difficult one for those immigrants to overcome, as many visa lottery winners don't have relatives in the US or jobs in advance of arriving in the country.

Generally, winners in the diversity lottery only need prove they were born in an eligible county and have completed high school or have at least two years of work experience in an occupation that requires at least two other years of training or experience.