Harvard sued the Trump administration on Friday over its move to block the prestigious university from enrolling and hosting foreign students in a broadening dispute, a court filing showed.

On Thursday, Homeland Security Secretary Kristi Noem revoked Harvard University's ability to enroll foreign nationals, throwing the future of thousands of students into doubt.

President Donald Trump is furious at Harvard -- which has produced 162 Nobel prize winners -- for rejecting his demand that it submit to oversight on admissions and hiring over his claims that it is a hotbed of anti-Semitism and "woke" liberal ideology.

His administration has already threatened to put $9 billion of government funding to Harvard under review, gone on to freeze a first tranche of $2.2 billion of grants and $60 million of official contracts, as well as targeting a Harvard Medical School researcher for deportation. "It is the latest act by the government in clear retaliation for Harvard exercising its First Amendment rights to reject the government's demands to control Harvard's governance, curriculum, and the 'ideology' of its faculty and students," said the lawsuit filed in Massachusetts federal court.