In the early nineteenth century, Northern Circars was ceded to the British East India Company and became part of the Madras Presidency. Eventually, this region emerged as the Coastal Andhra region. Later the Nizam rulers of Hyderabad ceded five territories to the British that eventually became the Rayalaseema region. The Nizams retained control of the interior provinces as the princely state of Hyderabad, acknowledging British rule in return for local autonomy. However, Komaram Bheem, a tribal leader, started his fight against the erstwhile Asaf Jahi Dynasty for the liberation of Hyderabad State. Meanwhile, the French occupied Yanam, in the Godavari delta, and (save for periods of British control) would hold it until 1954. In 1947, Vizianagaram was the largest Hindu princely state in Andhra Pradesh.