Carnatic region under British rule. In return, Azim-ud-Daula was entitled to one-fifth of the total revenue of the state and the honour of a 21-gun salute. During the Company rule (1801–1858) From 1801 until 1858, Madras was a part of British India and was ruled by the British East India Company. The last quarter of the 18th century was a period of rapid expansion. Successful wars against Tipu Sultan (1782–99), Maruthu Pandyar, Velu Thampi, Polygars and the coastal regions of the island Ceylon added vast areas of land and contributed to the exponential growth of the Presidency. Newly conquered regions in Ceylon formed part of the Madras Presidency between 1793 and 1798. The system of subsidiary alliances originated by Lord Wellesley as Governor-General of India (1798–1805) also brought many princely states into the area militarily subordinate to the Governor of Fort St George. The largest kingdom of the hill-tract region of Visakhapatanam was Jeypore and in 1777 it was conquered by Captain Matthews. The hill tracts of Ganjam and Visakhapatnam were the last places to be annexed by the British. The period also witnessed a number of rebellions starting with the 1806 Vellore Mutiny. The rebellion of Velu Thambi and Paliath Achan and the Poligar Wars were other notable insurrections against the British rule, but the Madras Presidency remained relatively undisturbed by the Sepoy Mutiny of 1857. The Madras Presidency annexed the kingdom of Mysore in 1831 on allegations of maladministration and restored it to Chamaraja Wodeyar (1881–94), the grandson and heir of the deposed Mummadi Krishnaraja Wodeyar (1799–1868) in 1881. Thanjavur was annexed in 1855, following the death of Shivaji II (1832–1855) who left no male heir. British Raj (1858–1947) In 1858, under the terms of Queen's Proclamation issued by Queen Victoria, the Madras Presidency, along with the rest of British India, came under the direct rule of the British crown. During the period of governor Lord Harris (1854–1859), measures were taken to improve education and increase representation of Indians in the administration. Legislative powers were given to the Governor's council under the Indian Councils Act 1861. The council was reformed and expanded under the Indian Councils Act 1892, the Indian Councils Act 1909, the Government of India Act 1919, and the Government of India Act 1935. V. Sadagopacharlu (1861–63) was the first Indian to be appointed to the council. The legal profession was specially prized by the newly