Ghiyath al-Din
Baha al-Din Sam II was the son of Shams al-Din Muhammad ibn Masud and an unnamed sister of his relative Sultan Ghiyath al-Din Muhammad. Baha al-Din also had an older half-brother named Abbas ibn Muhammad, whose mother was Turkic. In 1192, their father died, and Abbas shortly ascended the throne. However, Ghiyath al-Din and his brother Mu'izz al-Din Muhammad shortly deposed Abbas, and replaced him with Baha al-Din.