Nasir-ud-Din Mahmud Shah Tughluq (reign: 1394 − February 1413 CE) was the last sultan of the Tughlaq dynasty. Tughlaq dynasty is the third dynasty of the Delhi Sultanate. During this reign (rule) in 1398, Amir Timur the Turkic ruler invaded India. Soon after the invasion, the Tughlaq dynasty came to an end."