U.S. News & World Report announced its 2017 best colleges ranking Tuesday, comparing 1,800 public and private institutions based in the United States.

Princeton University took the top spot in the best national universities category, with Harvard University at No. 2 and University of Chicago and Yale University tied at No. 3.

Williams College — for the 14th consecutive year — ranked No. 1 on the best national liberal arts colleges list. Amherst College was ranked second and Wellesley College was third.

Here are the rankings for public and private colleges and universities in Nassau and Suffolk counties:

Stony Brook University ranked 96th among best national universities, in a three-way tie with Drexel University in Philadelphia and Saint Louis University in Missouri. Last year, SBU, Long Island’s largest university, was No. 89.

Hofstra University in Hempstead was No. 133 on the best national universities list, along with the University of Kentucky, and Adelphi University in Garden City was No. 146, with five other schools also at that ranking. Last year, Hofstra was No. 135 and Adelphi was No. 153 on the same list.

advertisement | advertise on newsday

New York Institute of Technology, which has campuses in Old Westbury and Manhattan, came in 32nd on the list of best regional universities in the North, along with two other schools.

Molloy College in Rockville Centre was No. 44 on that list, with six other schools at the same spot. St. Joseph’s College, which has campuses in Patchogue and Brooklyn, was ranked 80th, as were four other institutions. LIU Post, in Brookville and Brooklyn, was No. 114, along with three other schools.

The U.S. Merchant Marine Academy was No. 3 on the list of best regional colleges in the North, and Farmingdale State College was No. 17, along with SUNY College of A&T in Cobleskill.

Dowling College in Oakdale and SUNY Old Westbury were on an alphabetical list of second-tier regional universities in the North. The schools on that list were ranked Nos. 144 to 187, but their individual ranks were not disclosed.

Five Towns College in Dix Hills was on an alphabetical list of second-tier regional colleges. That list included schools ranked Nos. 34 to 44, but individual rankings were not disclosed.

Dowling closed after losing its accreditation from the Middle States Commission on Higher Education on Aug. 31.