Dhaka was successively ruled by the Turkish and Afghan governors descending from the Delhi Sultanate before the arrival of the Mughals in 1608.
Under Mughal rule in the 17th century, the city was also known as Jahangir Nagar, and was both a provincial capital and a centre of the worldwide muslim trade. The development of modern city was started under British rule in the 19th century, and soon became the second-largest city in Bengal after Calcutta (presently Kolkata). After the partition of India in 1947, Dhaka became the administrative capital of East Pakistan, and later, in 1972, the capital of an independent Bangladesh.
The main expansion of the city took place under Mughal general Shaista Khan. The city then measured 19 by 13 kilometres with a population of nearly a million people. The city passed to the control of the British East India Company in 1765 after the Battle of Plassey.
The Dhaka municipality was founded on August 1, 1864 and upgraded to "corporation" status in 1978. The Dhaka City Corporation is a self-governing corporation which runs the affairs of the city. The mayor of the city is elected by popular vote every five years.
The city has a moderate-sized middle class population, driving the market for modern consumer and luxury goods. The city has historically attracted large number of migrant workers. Hawkers, peddlers, small shops, rickshaws transport, roadside vendors and stalls employ a large segment of the population.
Dhaka city has high-rise buildings and other constructions. Growth has been especially strong in the finance, banking, manufacturing, telecommunications and services sectors, while