The duties and functions of the sheriff's office are provided for in Title 7, chapter 32, part 21.
§ 7-4-3001, MCA