Established by the Dakota Territory legislature in 1862, 27 years before the establishment of the state of South Dakota, USD markets itself as the flagship university for the state of South Dakota and the state's oldest public university. he university is home to South Dakota's only medical school and law school.