was also castrated. The Imperial Household Department immediately castrated the 9 sons of Ma Guiyuan since they already reached age 12 and were enslave as eunuchs to Qing soldiers in Xinjiang. Ma Zhenyuan (马侦源), Ma Benyuan (马本源) and Ma Guiyuan's (马桂源) wives were all enslaved to soldiers and officials in provincial garrisons after the husbands were executed. Ma Yulong (马玉龙) was the father of the boys Ma Sanhe (马三和) and Ma Jibang (继邦). Ma Dingbang (马定邦) was the father of Ma Qishi (马七十), Ma Shaba (马沙把), Ma Suo (马锁) and Ma Youzong (;马由宗). Ma Chenglong (马成龙) was the father of Ma Feifei (马飞). Their sons were all sentenced to castration. The Muslim rebels themselves were subjected to execution by lingchi (slow slicing) while their sons were castrated and their female relatives enslaved to soldiers and officials in provincial garrisons. The children of the Muslim rebels who were under ten included 6 year old Ga Liu (尕六), 8 year old Ga Quan (尕全) and Ma Xier (马希儿) who were imprisoned until they reached 11 and then castrated by the Imperial Household Department. Yaqub Beg and his son Ishana's corpses were "burned to cinders" in full public view. This angered the population in Kashgar, but Qing troops quashed a rebellious plot by Hakim Khan. Surviving members of Yaqub Beg's family included his four sons, four grandchildren (two grandsons and two granddaughters), and four wives. They either died in prison in Lanzhou, Gansu or were killed by the Qing government. His sons Yima Kuli, K'ati Kuli, Maiti Kuli, and grandson Aisan Ahung were the only survivors alive in 1879. They were all underage children at that time. They were put on trial and sentenced to an agonizing death if they were found to be complicit in their father's rebellious "sedition". If they were innocent, they were to be sentenced to castration and servitude as eunuch slaves to the Qing troops. Afterwards, when they reached the age of 11 years, they would be handed over to the Imperial Household to be executed or castrated. In 1879, it was confirmed that the sentence of castration was carried out, Yaqub Beg's son and grandsons were castrated by the Chinese court in 1879 and turned into eunuchs to work in the Imperial Palace. Yaqub Beg's sons and grandsons who were captured were under 10 years old Aisin Ahongju (爱散阿洪俱), Kadihuli (卡底胡里) and 10 year old Imahuli (依玛胡里).