 Hoise jergi weilengge niyalma) such as Yakov and Dmitri were exiled to the Han banner garrison in Guangzhou.In the 1780s after the Muslim rebellion in Gansu started by Zhang Wenqing 張文慶 was defeated, Muslims like Ma Jinlu 馬進祿 were exiled to the Han Banner garrison in Guangzhou to become slaves to Han Banner officers.The Qing code regulating Mongols in Mongolia sentenced Mongol criminals to exile and to become slaves to Han bannermen in Han Banner garrisons in China proper.