Six large gates were erected in different directions of the town. Upon Shavur's order Azerbaijani master Ibrahim ibn Osman built the gates. The gates were of cast iron decorated on the outside with stamped ornaments and patterns made according to the chasing method.