east coast at the time. The problem was compounded when the Sultan of Golconda started harassing the local officers. The East India Company's administrator Francis Day (1605–73) was sent south, and after negotiations with the Raja of Chandragiri he obtained a land grant to set up a factory in the village of Madraspatam, where the new Fort St George was built. An agency was created to govern the new settlement, and the factor Andrew Cogan of Masulipatam was appointed as its first Agent. All the agencies along India's east coast were subordinated to the East India Company presidency of Bantam in Java. By 1641, Fort St George became the company's headquarters on the Coromandel Coast. Agency of Fort St George (1648–1684) Andrew Cogan was succeeded by Francis Day (1643–1644), Thomas Ivie (1644–1648) and Thomas Greenhill (1648–52 and 1655–58). At the end of Greenhill's term in 1652, Fort St George was elevated to a Presidency, independent of Bantam and under the leadership of the first president, Aaron Baker (1652–1655). However, in 1655 the status of the fort was downgraded to an Agency and made subject to the factory at Surat, until 1684. In 1658, control of all the factories in Bengal was given to Madras, when the English occupied the nearby village of Triplicane. Expansion (1684–1801) In 1684, Fort St George Black Town where the 'natives' lived. The White Town was confined inside the walls of Fort St. George and the Black Town outside of it. The Black Town later came to be known as George Town. During this period, the Presidency was significantly expanded and reached an extent which continued into the early 19th century. During the early years of the Madras Presidency, the English were repeatedly attacked by the Mughals, the Marathas and the Nawabs of Golkonda and the Carnatic region. In September 1774, by Pitt's India Act, passed by the Parliament of Great Britain to unify and regulate the administration of the territories of the East India Company, the President of Madras was made subordinate to the Governor-General of India based in Calcutta. In September 1746, Fort St George was captured by the French, who ruled Madras as a part of French India until 1749, when Madras was handed back to the British under the terms of the Treaty of Aix-la-Chappelle of the previous year. In 1801, the Nawab of Arcot, Azim-ud-Daula signed the Carnatic Treaty bringing the