stylistic:style_transfer, quality:corruption, structural:summarization
Ghazi Mohammad Ayub Khan also known as The Victor of Maiwand or The Afghan Prince Charlie was, for a while, the governor of Herat Province in the Emirate of Afghanistan. He was Emir of Afghanistan from 12 October, 1879 to 31 May, 1880. He also led the Afghan troops during the Second Anglo-Afghan War and defeated the British Indian Army at the Battle of Maiwand. Following his defeat at the Battle of Kandahar, Ayub Khan was deposed and exiled to British India. However, Ayub Khan fled to Persia. After negotiations in 1888 with Sir Mortimer Durand, the ambassador at Tehran, Ayub Khan became a pensioner of the British Raj and traveled to British India in 1888, where he lived until his death in 1914 in Lahore, Punjab. He was buried in Peshawar and had eleven wives, fifteen sons, and ten daughters. Two of his grandsons, Sardar Hissam Mahmud el-Effendi and Sardar Muhammad Ismail Khan, served as brigadiers in the Pakistan Army. In Afghanistan, he is remembered as the "National Hero of Afghanistan."