 The Alamut fortress was eventually captured from Mahdi in 1090 AD and therefore from Seljuk control by Hassan and his supporters without resorting to any violence.Mahdi's life was spared, and he later received 3,000 gold dinars in compensation.Capturing of the Alamut Castle marks the founding of the Nizari Ismaili state.