The University of Michigan was established in 1817 in Detroit and later moved to Ann Arbor in 1837.