The city grew in size quite a lot under Mughal general Shaista Khan. The city then measured 19 by 13 kilometres (12 by 8 mi), with almost a million people. The city then passed to the control of the British East India Company in 1765 after the Battle of Plassey. The number of people in the city fell very much as the prominence of Kolkata rose, but development eventually followed. A modern civic water supply system was introduced in 1874 and electricity supply launched in 1878. The Dhaka Cantonment was established near the city, serving as a base for British and Indian soldiers. 