The Kot Diji Fort, formally known as Fort Ahmadabad, dominates the town of Kot Diji in Khairpur District, Pakistan about 25 miles east of the Indus River at the edge of the Nara-Rajisthan Desert. The fort was built between 1785 to 1795 by Mir Sohrab Khan Talpur, founder of the Kingdom of Upper Sindh in 1783. In addition to the fort, a 5 kilometer, 12 feet wide mud wall was built around the city. This defensive wall had bastions throughout its length and a huge iron gate served as the city's only entrance.
The fort was considered invincible and served as the residence of the Emirs of Khairpur in times of peace. It is, therefore, the ancestral home of royal house. During war time the zenana (female members of the royal family), would be shifted to Shahgarh Fort, formerly within the realm but since 1843, after the conquest of the rest of Sindh, it is in the Thar and Jaisalmer desert, now in India. When the Zenana moved into the comfort of palaces, it stood mainly as a decorated reminder of more violent times. Throughout its whole history, however, Fort Kot Diji was never attacked.