Gordon also left a legacy in China and Sudan as well, two nations where he spent large parts of his career in. His legacy in China has also been influenced by subsequent political developments, as the Qing dynasty was overthrown in the Xinhai Revolution and replaced by a republic; this eventually led to the Warlord Era and the Chinese Civil War which saw the communists to defeat the nationalists and establish control over China. Due to many aspects of the Taiping ideology resembling Chinese communism, the Taipings are treated sympathetically by Chinese historians who portrayed as them as prototypical communists with Hong Xiuquan being depicted as anticipating Mao. As such, Gordon's role in suppressing the rebellion has led his reputation to suffer in China, in addition to his role a general in service of the Manchu-dominated Qing government, which systematically oppressed the Han Chinese majority.