 The Dhaka Cantonment was established near the city, serving as a base for the soldiers of the British Indian Army.Dhaka served as a strategic link to the frontier of the northeastern states of Tripura and Assam.Charles D'Oyly was the District Collector of Dhaka from 1808 to 1811.