History of Iranian Azerbaijan from Oghuz Turks to the Qara Qoyunlu rulers who built the Blue Mosque (Pers. Masjed-e kabud); and to Hasan Padeshah Aq Qoyunlu who chose Tabriz as their capital.