text: So the second fortification was carried out by Mahmud Begada in 1486, the grandson of Ahmed Shah, with an outer wall 10 km (6.2 mi) in circumference and consisting of 12 gates, 189 bastions and over 6,000 battlements as described in Mirat-i-Ahmadi.