Ali Shah, known by the regnal name al-Mustansir Billah II (Arabic: المستنصر بالله الثاني علي شاه; 1480-1463/4), was the 32nd imam of the Qasim-Shahi branch of the Nizari Isma'ili community. His reign initiated the Anjudan period of Nizari history, which was marked by a revival of Nizari teachings.