From 1798 Hyderabad was one of the princely states of British India , but it kept local control .
From 1798 Hyderabad was one of the princely states of British India , but it retained control of its internal affairs .