The Supreme Court on Wednesday handed down a 6-3 decision blocking President Donald Trump's attempt to bar people from the U.S. who already have family members in the country.

The justices' ruling directs the government to allow the grandparents, cousins and other relatives entry to the U.S.

Last month, the top court allowed certain parts of Trump's travel ban to go into effect. The Supreme Court will hear arguments on the travel ban in October.

Stocks in the sectors potentially affected by the travel ban include hotels, airlines and cruise lines. Related companies such as Marriott International ( MAR) , American Airlines ( AAL) and Royal Caribbean ( RCL) were trading mostly flat after the court's ruling. 

More of What's Trending on TheStreet:

If you liked this article you might like

Inflation, Chipotle, Credit Suisse and Sam's Club - 5 Things You Must Know

Inflation, Chipotle, Credit Suisse and Sam's Club - 5 Things You Must Know

Will Inflation Set Stocks' Hearts Aflutter or Be a Poison Arrow? -- Market Recon

Will Inflation Set Stocks' Hearts Aflutter or Be a Poison Arrow? -- Market Recon

Volatility Is Still in Charge: Cramer's 'Mad Money' Recap (Friday, 2/9/18)

Volatility Is Still in Charge: Cramer's 'Mad Money' Recap (Friday, 2/9/18)

Walmart Closes Dozens of Sam's Clubs, Some Without Warning: LIVE MARKETS BLOG

Walmart Closes Dozens of Sam's Clubs, Some Without Warning: LIVE MARKETS BLOG

Don't Get Caught Out in the Cold: Cramer's 'Mad Money' Recap (Friday 1/5/18)

Don't Get Caught Out in the Cold: Cramer's 'Mad Money' Recap (Friday 1/5/18)