For 10 points, name this 1899-1901 anti-foreigner rebellion in China.
Participants in this event used a rectangular red flag with a black square in the middle. The Hanlin Academy caught fire during this event, leading to a dramatic rescue of the sole surviving copy of the Yongle Encyclopedia. Claude MacDonald used the "International Gun" to defend his men during it, while the Taiyuan Massacre also occurred during this event. The instigators of this event objected to the granting of extraterritoriality by the unequal treaties. This event during the Qing Dynasty was eventually put down by an Eight-Nation Alliance that included Japan, Britain, and the United States. For 10 points, name this 1899-1901 anti-foreigner rebellion in China.
Participants in this event used a rectangular red flag with a black square in the middle.
{Boxer} Rebellion [accept: {Righteous Harmony Society Movement}]