The University of Michigan was started in Detroit in 1817 as the Catholepistemiad, or University of Michigania, by the governor and judges of Michigan Territory. Ann Arbor had set aside 40 acres (16 ha) that it hoped would become the site for a new state capitol, but it gave this land to the university when Lansing was chosen as the state capital. The university moved to Ann Arbor in 1837. The original 40 acres became part of today's Central Campus. The first classes in Ann Arbor were held in 1841, with six freshmen and a sophomore, taught by two professors or teachers. Eleven students graduated in the first class in 1845. By 1866, 1,205 students went to UM. Women were first allowed in 1870, making UM the first major university to allow women to go to school. James B. Angell, was the university's president from 1871 to 1909, made UM's teachings include subjects such as dentistry, architecture, engineering, government, and medicine. UM also became the first American university to teach in the seminar style.