The answer is: The Boxers were defeated by an international army, which allowed foreign occupation to continue
The boxer rebellion was an anti-Christianity movements that arose in china by the end of 1800s.
They oppose western occupation along with missionaries activisim that promoted by the European nations. In the end, the Rebellion was ended by the combined power of international army from United States, Austro-Hungaria, France, England, Germany, and Italy.