A systematic program of pacification followed: resettling the populace in hundreds of stockaded villages and organizing them into militias. In its last stage, the Qing suppression policy combined pursuit and extermination of rebel guerrilla bands with a program of amnesty for deserters. The imperial authorities suppressed the White Lotus Rebellion in 1805 using a combination of military and social policies.