In 1052, the rebellious slave-soldier (''ghulam'') Toghrul seized Ghazni, had Abd al-Rashid killed, and had the sultan's men jailed in a stronghold. However, Toghrul's reign lasted only 15 days; he was defeated and killed by Ghaznavid loyalists, who put Farrukh-zad (r. 1053–1059) on the throne.