A U.S. federal judge said on Thursday she would extend an order blocking President Donald Trump's administration from immediately revoking Harvard University's ability to enroll international students, a victory for the Ivy League school that is entangled in multiple battles with the administration.

U.S. District Judge Allison Burroughs in Boston announced her intention to issue a preliminary injunction, six days after she first granted Harvard a temporary order blocking the Trump administration's move.

As the court hearing unfolded on Thursday morning, thousands of Harvard students were receiving their degrees at the school's commencement ceremony on campus about 8 kilometers away.