Cornwallis modernized the thana system with darogas (Indian) and SPs (head of district) in 1791.