Ghurid dynasty
Ghiyath was born in 1139; he was the son of Baha al-Din Sam I, who briefly reigned as king of the Ghurid dynasty in 1149. Ghiyath also had a younger brother named Mu'izz al-Din. During his early life, Ghiyath along with Mu'izz al-Din were imprisoned by their uncle Ala al-Din Husayn but were later released by the latter's son Sayf al-Din Muhammad. When Sayf died in 1163, the Ghurid nobles supported Ghiyath, and helped him ascend the throne.