حوزة قم
Rouhani started religious studies in 1960, first at Semnan Seminary before moving on to the Qom Seminary in 1961. He attended classes taught by prominent scholars of that time including Mostafa Mohaghegh Damad, Morteza Haeri Yazdi, Mohammad-Reza Golpaygani, Soltani, Mohammad Fazel Lankarani, and Mohammad Shahabadi. In addition, he studied modern courses, and was admitted to the University of Tehran in 1969, and obtained a BA degree in Judicial Law in 1972. In 1973, Rouhani entered military service in the city of Nishapur.