Malik-Shah, angry of Nizam al-Mulk's harsh words, and was preparing himself for a travel to Baghdad. When they reached Nahavand, Nizam al-Mulk was assassinated by an Isma'ili agent. Primary sources explicitly mentioned that the assassination of Nizam al-Mulk was orchestrated by Taj al-Mulk, making it likely that Malik-Shah was aware of it.