This complex was first constructed by Qutb-ud-din Aybak, the first ruler of the Slave Dynasty, and his successor Iltutmish (aka Altmash) in his new city called the Qila-Rai-Pithora near Prithivraj Chauhan's older city.