The Delhi Sultanate was a Muslim kingdom based in Delhi that ruled northern parts of India for 320 years between 1206-1526 CE. It was founded by Qutb-ud-din Aibak and passed through five successive dynasties of Turkic and Afghan origin - the Mamluk, Khilji, Tughlaq, Sayyid, and Lodi. The Delhi Sultanate built important architectural landmarks like the Alai Gate and Qutub Minar during the Mamluk and Khilji periods, before being replaced by the Mughal Empire in 1526.