Legal history of South Dakota