By 1681, the Qing government had established control over a ravaged southern China which took several decades to recover.