In the meantime, the allied powers dispatched troops to China, which, having broken minor resistance of the Chinese forces, reached Beijing by mid- August. The Imperial Court fled, hoping, evidently, to continue the fight, but soon accepted the conditions of surrender. The war was over; former members of the Boxer bands were subject to arrest, court-martial, and execution.
Like any other war, the defense of the Legation Quarter in Beijing and the multinational rescue expedition from Tiantsin have seen both gallantry and wickedness, self-sacrifice and brutality. The trouble is, when the Chinese were defeated, the latter completely overtook the former.
Much was written about the heroes of the Legation Quarter where a handful of sailors and marines from different countries for two long months stood firm against fierce attacks of numerous savages... It is uncommon, however, to mention with this regard, that the Chinese military command in Beijing restrained its forces from assaulting the Legation Quarter, while Boxer bands, armed mainly with sticks and knives, their formidable appearance notwithstanding, were poor match for Gatling guns and cannon.
 O'Connor, p. 343-344