Master Ibrahim ibn Osman made these gates, by the order of Shavur I, ruler of the Shaddadids dynasty.
This momentary weakness in the central administration allowed the Rawadids and Shaddadids to take control of the area to the northeast of Tabriz Dvin, respectively.