Richard Wellesley, Governor-General of the Presidency of Fort William between 1797 and 1805, was largely responsible for the development of the city and its public architecture.[38] Throughout the late 18th and 19th century, the city was a centre of the East India Company's opium trade.[39] A census in 1837 records the population of the city proper as 229,700, of which the British residents made up only 3,138.[40] The same source says another 177,000 resided in the suburbs and neighbouring villages, making the entire population of greater Calcutta 406,700.