A federal judge on Friday indefinitely blocked the Trump administration from revoking Harvard University’s ability to host international students and scholars while legal challenges continue.

The preliminary injunction issued by US District Judge Allison Burroughs extends a temporary block the judge had issued last month against the administration after it revoked the school’s certification in the Student and Exchange Visitor Program, which allows it to host foreign students and scholars. International students make up roughly a quarter of the school’s student body.

Harvard’s legal battle against the administration took a turn in recent weeks after President Donald Trump issued a proclamation that suspends international visas for new students. The judge similarly stepped in on an emergency basis to halt that order in early June, and she heard arguments on Monday over whether she should also indefinitely block the edict. She has not yet issued a ruling on Trump’s proclamation.

Friday’s ruling represents a key win for the nation’s oldest and wealthiest university, which Trump targeted earlier this year over allegations that it hadn’t adequately addressed antisemitism on campus. Administration officials also demanded that the private school eliminate what it calls “racist ‘diversity, equity and inclusion’ practices.”