The Safavid dynasty ruled present-day Iran from 1501-1722 and was the strongest Islamic empire to challenge the Ottomans in the west and the Mughals in the east.
The sole reason for the decline and fall of the Safavid dynasty was the weak military. After the Ottoman empire step-back from the boundaries of the Safavid dynasty, the Safavids' military forces became less effective. And, as the years passed by, they became complacent and corrupt that ultimately led to its decadence.