The history of urban settlements in the area of modern-day Dhaka dates to the first millennium. The region was part of the ancient district of Bikrampur, which was ruled by the Sena dynasty. Under Islamic rule, it became part of the historic district of Sonargaon, the regional administrative hub of the Delhi and the Bengal Sultanates. The Grand Trunk Road passed through the region, connecting it with North India, Central Asia and the southeastern port city of Chittagong.