Ahmad Niyaltigin was the treasurer of a sultan who rose to power by seizing what from his younger twin?
Mas'ud I of Ghazni Mas'ud I of Ghazni (Persian: مسعود غزنوی‎ ‎ ), known as Amīr-i Shahīd (امیر شهید ; "the martyr king")(998 – 17 January 1040), was "sultan" of the Ghaznavid Empire from 1030 to 1040. He rose to power by seizing the Ghaznavid throne from his younger twin Mohammad, who had been nominated as the heir upon the death of their father Mahmud of Ghazni. His twin was shortly blinded and imprisoned. However, when much of Mas'ud's western domains had been wrested from his control, his troops rebelled against him and reinstated Mohammad to the throne.
Gıyâseddîn Halil Bey Gıyâseddîn Halil Bey was the tenth Emir of Ramadan who ruled the Beylik of Adana (Turkish: "Ramazanoğulları, Ramazan, Ramazanoğulları Beyliği" ). The son of Dâvûd Bey, who was killed in Aleppo in 1480, Halil Bey focused his reign on maintaining peace between the Mamluk Sultanate and the Ottoman Empire and creating an environment where Islamic scholarship and architecture flourished. He was noted for his generosity and was named "Gıyâseddîn" on honour of his love for his subjects. Halil Bey died in 1511 and was succeeded by his brother Mahmûd Bey.