All contributed to the end of the Qing dynasty.
However,
The taiping rebellion
(failure to deal with internal economic problems led to major peasant revolt)
Opium war
(China's first conflict with a European power. They lacked modern military technology necessary to defeat the British.)
Boxer Rebellion
(Led to the destruction of temples in the capital suburbs. As a result, the Chinese government was forced to to pay heavy indemnity.)
\