The ensuing Revolt of the Three Feudatories lasted for eight years