 Sufism played a major role in spread of Shiism in this time.Ismail I initiated a religious policy to recognize Shiism as the official religion of the Safavid Empire, and the fact that modern Iran and Azerbaijan remain majority-Shia states is a direct result of Ismail's actions.Unfortunately for Ismail, most of his subjects were Sunni.