Seldschuken
The death of Sanjar meant the end of the Seljuq dynasty as an empire, since they only controlled Iraq and Azerbaijan afterwards. Sanjar is considered as one of the most prominent Seljuq sultans and was the longest reigning Muslim ruler until the Mongols arrived. Although of Turkic origin, Sanjar was highly Iranized, and due to his feats, even became a legendary figure like some of the mythological characters in the Shahnameh. Indeed, medieval sources described Sanjar as having "the majesty of the Khosrows and the glory of the Kayanids". Persian poetry flourished under Sanjar, and his court included some of the greatest Persian poets, such as Mu'izzi, Nizami Aruzi, and Anvari.