The second split occurred following the death of Ma'ad al-Mustansir Billah in 487 AH (1094). His rule was the longest of any caliph in any Islamic empire. Upon his passing away, his sons, Nizar the older, and Al-Musta'li, the younger, fought for political and spiritual control of the dynasty. Nizar was defeated and jailed, but according to Nizari tradition, his son escaped to Alamut, where the Iranian Ismaili had accepted his claim. From here on, the Nizari Ismaili community has continued with a present, living Imam.