The ban on people entering the United States from six mostly Muslim countries will now apply for everyone except people who have a “credible claim of a bona fide relationship with a person or entity in the United States,” the justices said in an unsigned opinion.

The Court also agreed to hear the case in the fall.

The court was expected to act on Trump’s emergency request after lower courts blocked the measure.

The Supreme Court was set to issue the final rulings on Monday, including one on religious rights, amid talk that swing voter Justice Anthony Kennedy is considering retirement.

As the justices look to finish work before their summer break, they must decide what to do with Trump’s travel ban, which was blocked by lower courts. The administration wants the ban to go into effect while the litigation continues.