[1] Completed during the 15th-century, it is the oldest mosque and first brick building in the Greater Barisal region having been built during the reign of Sultan Ruknuddin Barbak Shah.
[2] During the reign of Sultan Ruknuddin Barbak Shah, his minister Khan-i-Azam Uzayr Khan constructed this mosque in AH 870 (1465/1466 CE).
During this period, the area was under the rule of Kandarpanarayan Rai, the Raja of Chandradwip, who also evacuated his capital in Bakla.
Muslim-dominant villages such as Madhabkhali, Mirzaganj, Bibichini, Talgachia, Maqamia, Karuna, Gulishahkhali, Ghuslkhali, Faqirkhali, Auliyapur and Dhulia were deserted and the area became covered in jungle, effectively becoming a part of the Sundarbans again.
[citation needed] The mosque is built of limestone and terracotta bricks with attractive architectural style and craftsmanship.