Baha al-Din Sam II

Baha al-Din Sam II (Persian: بهاء الدین سام) was the fourth ruler of the Ghurid branch of Bamiyan, ruling from 1192 to 1206.

[1] Shortly after his ascension, Baha al-Din became famous among his subjects, and patronized many scholars such as the prominent Iranian philosopher Fakhr ad-Din ar-Razi.

[2] However, the Ghurids shortly managed to inflict a heavy defeat on the two empires, and then used the opportunity to conquer Marv, Sarakhs, Nasa, Abiward, Tus, and Nishapur.

Shortly after Ghiyath's death, however, the Khwarazmian-shah Muhammad II invaded the Ghurid Empire, and besieged Herat.

Mu'izz, along with his general Husain ibn Kharmil, quickly managed to Muhammad from Herat and then pursued him to Khwarezm, where the Ghurid army besieged the Khwarazmian capital of Gurganj.