In 1092 political events ended Khayyam's period of peaceful existence. Malik-Shah died in November of that year, a month after his vizier Nizam al-Mulk had been murdered on the road from Esfahan to Baghdad by the terrorist movement called the Assassins. Malik-Shah's second wife took over as ruler for two years but she had argued with Nizam al-Mulk so now those whom he had supported found that support withdrawn.
Sa 1092 pampulitikang kaganapan natapos Khayyam's panahon ng mapayapang buhay. Malik-Shah namatay sa Nobyembre ng na taon, isang buwan matapos ang kanyang vizier nisam al-Mulk had been murdered sa kalye mula sa Esfahan sa Baghdad sa pamamagitan ng terorista ang mga kilusan na tinatawag na ang Assassins. Malik-Shah's pangalawang asawa kinuha sa bilang pinuno para sa dalawang taon, ngunit siya had argued sa nisam al-Mulk kaya ngayon ang mga sinugo niya suportado natagpuan na-withdraw ng suporta.