 The city is located in an eponymous district and division.The area of Dhaka has been inhabited since the first millennium.The city rose to prominence in the 17th century as a provincial capital and commercial center of the Mughal Empire in South Asia.