A federal judge in Hawaii on Wednesday extended his previous ruling blocking President Donald Trump’s so-called “travel ban” that would have restricted entry to the United States by refugees and people from some predominantly Muslim countries.

U.S. District Judge Derrick Watson granted a motion by the state to turn his temporary restraining order blocking Trump’s revised executive order into a preliminary injunction. The move extends the ban on enforcement while the case moves forward.

The government also sought to have the judge limit the injunction to just the issue of visas from six predominantly Muslim nations, and not on a 120-day hold on refugees, but the judge declined to do so and that part of Trump’s order remains blocked.