How did Raziya Sultan become a powerful ruler?

As a young girl, Raziya studied the science of war. Impressed by her ability, her father IItumish, the Sultan of Delhi made her his heir. However, after the death of IItumish, the nobles enthroned his irresponsible son Ruknuddin. Raziya overthrew Ruknuddin with the help of the nobles, and became Sultan of Delhi. The governors of Badaun, Multan, Hansi, and Lahore laid siege to her fort. Raziya cleverly won over two of the generals, and the rest fled. Raziya was an able ruler. Her kingdom extended from Sindh in the west, to Bengal in the east. She appointed non-Turks to high posts. The Turkish noblemen rose in revolt. Kabir Khan, the governor of Lahore was the first to do so. Raziya attacked him suddenly, and put him behind bars. However, she lost a heroic battle at Delhi and was beheaded. Raziya Sultan was the first woman to ascend the throne of Delhi.