After the fall of the Qing dynasty in the 1911 Xinhai Revolution, the country was thrown into turmoil. In the ensuing power vacuum, a large number of warlords seized control of different parts of the country. In order to defeat them and unify the country, Sun Yat-sen and the KMT sought help from foreign governments.