Princeton University said Wednesday it would reject $2.4 million in federal aid it would get under the $2 trillion coronavirus stimulus law.

“We have determined that the university will not accept this funding,” said spokesman Michael Hotchkiss, adding that Princeton did not request the money.

The university had been allocated $2.4 million as part of an aid package for higher education institutions forced to shut down their campuses in the wake of the COVID-19 outbreak. In all, $323 million was earmarked for New Jersey universities, technical schools and seminaries and their students.

Half of the money was directed to students to help cover costs associated with the disruption of campus operations due to the coronavirus, including course materials, food, health care, technology and housing.

CORONAVIRUS RESOURCES: Live map tracker | Newsletter | Homepage

Hotchkiss said the university’s “no-loan financial aid packages and other programs are designed to provide exceptional levels of support to our students.”

“We remain committed to providing this support,” he said.

Harvard University, which was supposed to get $8.7 million, also declined its allocation, the school said Wednesday.

“We are concerned that intense focus by politicians and others on Harvard in connection with the program may undermine participation in a relief effort Congress created and the president signed into law for the purpose of helping those whose financial challenges may be most severe,” the university said in a statement.

President Donald Trump called out Harvard at his daily coronavirus press conference on Tuesday.

“Harvard is going to pay back the money,” Trump said. “And they shouldn’t be taking it. So, Harvard is going to. You have a number of them. I’m not going to mention any other names. But when I saw Harvard, they have one of the largest endowments anywhere in the country, maybe in the world, I guess. And they’re going to pay back that money.”

And Stanford University also declined the funds. It was entitled to $7.4 million.

“We realize that this crisis represents an existential threat for many of the smaller colleges and universities that are such a critical part of the fabric of higher learning in the United States,” Stanford said in a statement.

Thank you for relying on us to provide the journalism you can trust. Please consider supporting NJ.com with a voluntary subscription.

Jonathan D. Salant may be reached at jsalant@njadvancemedia.com.