Legal history of Montana