Ahmad Sanjar
The Seljuks then ruled an empire which included Iran and Azerbaijan until the end of the 12th century. During their rule, the sultan Nizam ul-Mulk (a noted Persian scholar and administrator) helped to introduce a number of educational and bureaucratic reforms. His death in 1092 began the decline of the Seljuk empire, which hastened after the death of the sultan Ahmad Sanjar in 1153.