The correct opcion is C.

The boxers were initially anti qing. But when the anti foreign elements in the qing goverment gained control in 1898, the convinced the boxers to join forces with the goverment to expel foreigners. The boxers were recruited into the semi official militia. The goverment supported the boxers in the vicinity of beijing. Therefore, the uprising of the boxers was not a rebelion against the government, but was directed completely against foreigners.

The taiping rebellion was the bloodiest civil war in the world. It lasted 13 years, from 1851 to 1864. it almost overthrew the qing dynasty and caused the death of 2o million people. The taiping rebellion, more than anything, marked the end of the imperial system in china.