An academic career required a doctorate, so in 1921 Urey enrolled in a PhD program at the University of California, Berkeley, where he studied thermodynamics under Gilbert N. Lewis. His initial attempt at a thesis was on the ionization of cesium vapor. He ran into difficulties, and Meghnad Saha published a better paper on the same subject. Urey then wrote his thesis on the ionization states of an ideal gas, which was subsequently published in the "Astrophysical Journal". After he received his PhD in 1923, Urey was awarded a fellowship by the American-Scandinavian Foundation to study at the Niels Bohr Institute in Copenhagen, where he met Werner Heisenberg, Hans Kramers, Wolfgang Pauli, Georg von Hevesy, and John Slater. At the conclusion of his stay, he traveled to Germany, where he met Albert Einstein and James Franck.