The Slave Dynasty (or Mamluk Dynasty) was founded by Qutb-ud-Din Aibak in 1206. He was a former slave and a trusted general of Muhammad Ghori. Upon Ghori's death, Aibak declared himself the ruler of the territories in India that Ghori had conquered, establishing the first dynasty of the Delhi Sultanate.