Mu'izz ad-Din Mohammad Ghori, born Shihab ad-Din, also known as Mohammad of Ghor, was the Sultan of the Ghori empire along with his brother Ghiyath ad-Din Muhammad from 1173 to 1202 and as the sole ruler from 1202 to 1206. He is credited with laying the foundation of Muslim rule in the Indian subcontinent, which lasted for several centuries. He reigned over a territory spanning over parts of modern-day Afghanistan, Bangladesh, Iran, Northern India, Pakistan, Tajikistan and Turkmenistan.
Mu'izz ad-Din took the city of Ghazni in 1173 to avenge the death of his ancestor Muhammad ibn Suri at the hands of Mahmud of Ghazni and used it as a launching pad for expansion into northern India. In the meantime, he assisted his brother Ghiyath in his contest with the Khwarazmian Empire for the lordship of Khorasan in Western Asia. In 1175, Mu'izz captured Multan from the Hamid Ludi dynasty, and also took Uch in 1175. He also annexed the Ghaznavid principality of Lahore in 1186, the last haven of his Persianised rivals. After consolidating his rule in the North-West domain Mu'izz al-Din wish to invade the heart of Northern India which was then under the control of Rajputs.