East Bengal until the Bengal region came under Muslim rule. Shamsuddin Firoz Shah occupied the region in the early fourteenth century and incorporated it into the Lakhnauti kingdom.
This marked the end of the independent Hindu rule in Sonargaon. The importance of Sonargaon diminished in the period before Ghiyasuddin Bahadur Shah came to power in 1322, but it became known as a port and a shawl town. In 1324, Gias Uddin Tughlaq conquered Bengal and gave Sonargaon the status of the administrative center of East Bengal.
Sonargaon was an independent kingdom of Fakhruddin Mubarak Shah from 1338 to 1352. In 1352 Shamsuddin Ilyas Shah captured Sonargaon. Sonargaon was also their capital during the reign of Isha Khan and his descendants. After the establishment of the Mughal capital at Dhaka, the decline of Sonargaon began.
The ancient monuments of Sonargaon area are still beautifully decorated. Notable among these are Panama Nagar, Khas Nagar Dighi, Ranilkuthi in Dulalpur, Goaldi Shahi Mosque, Aminpur Math, Damo Dardi Math, Bara Sardar Bari etc.
The Panam Bridge, Dulalpur Bridge and Panam Nagar Bridge, built during the Mughal period, still survive in the Panam area. There are several old red brick houses in Panam Nagar.
The location of most of these is deplorable. The paved road from Mograpara on the Dhaka-Chittagong highway to the blue factory towards Panam Nagar and ancient monuments. Panam Nagar is located on the east side of this paved road before Dulalpur Bridge.
The city of Panam was built with some picturesque installations on either side of a road about five meters wide and 800 meters long. One of the attractions of this small town is 21 old houses on the north side of the road and 31 on the south side. The city of Panama was protected by artificial canals. The canal bridge on the west side is the entrance to the city of Panam.