Ghurid dynasty
In 1173 the Ghurid dynasty replaced the Ghaznavids in Ghazni, and under Muhammad of Ghor they began expanding eastwards. Between 1175 and 1192, the Ghurid dynasty occupied the cities of Uch, Multan, Peshawar, Lahore, and Delhi. In 1206, the Ghurid general Qutb-al-din Aybeg and his successor Iltutmish founded the first of the series of Delhi Sultanates. Each dynasty would be an alternation of various inner-Asian military lords and their clients, constantly vying for power. These sultanates would make Delhi a safe haven for Muslim Turks and Persians who would flee the eventual Mongol invasions.