(CBS SF) — Three Bay Area universities are among the best in the world, according to a new ranking.

Stanford is number two while UC Berkeley is fourth. UC San Francisco treads behind to claim the 18th spot.

READ MORE: Yuba County Agency Mulls Water Shipments to Bay Area Counties

Harvard came in first for the 13th year while MIT placed third and Columbia University in New York eighth.

READ MORE: 'Let it Glow' SF Lights Up San Francisco To Revive Pandemic-Stricken Downtown

The Center for World-Class universities in Shanghai took half a dozen factors into account including alumni and staff winning prestigious awards and the number of articles published in nature and science journals.

Top 200 universities in five broad subject fields and in five selected subject fields are listed, where the best five universities are:

MORE NEWS: Officials: Marin County Parents Knowingly Sent Child To School With COVID; 75 Students Quarantined

The complete lists and detailed methodologies can be found at the Academic Ranking of World Universities website.