Dhaka was situated in Bhati region which hosted several rebel forces led by Bara-Bhuiyans from mid to late 16th century.
After the leader of Bara-Bhuiyans, Musa Khan, was subdued by Mughal General Islam Khan Chisti in 1608, Dhaka again went directly under control of Mughals.
The newly appointed subahdar of Bengal Subah, Islam Khan transferred the capital from Rajmahal to Dhaka in 1610.
Pala Empire was the last dynasty to rule the whole Kamarupa region.
During their reign between the 8th century until the late 11th century, Vikrampur, a region 12 miles from Dhaka, was their capital.
A fort at Tangi-Jamalpur guarded one of the roads connecting Dhaka with the northern districts which is now known as Mymensingh Road.
According to him, Dhaka had a large number of inhabitants compare to the size of the city. There were only two kuthis – one of the English and the other of the Dutch.
He also patronised building of Hussaini Dalan, a Shia shrine though he himself was a Sunni.
In the late 1640s, for personal and political reasons, he moved the capital back to Rajmahal. Due to political turmoil, Emperor Aurangzeb sent Mir Jumla to deal with Prince Shuja.
One is that the name came following the establishment of Dhakeshwari temple by Raja Ballal Sena in the 12th century and Dhakeswari is the name of a Goddess.
While others say that Dhakeshwari stands the meaning of Goddess of Dhaka; so the temple must have been named after the region.
After the independence of Bangladesh in 1971, Dhaka became the capital of the new state.
There are several myths on the origin of the name Dhaka.
The Pala rulers were Buddhists, but majority of their subjects were Hindus.