(CNN) A federal judge in Hawaii has blocked President Donald Trump's new travel ban on Wednesday, hours before the ban was set to go into effect.

This ruling means that travelers from six Muslim-majority countries and refugees will be able to travel to the US.

Read the court's ruling below.