Aq Qoyunlu
Rebuilding during Ayyubid and Aq Qoyunlu periods.