During the Warlord Era, the government remained very unstable, with seven heads of state, five caretaker administrations, 34 heads of government, 25 cabinets, five parliaments, and four charters within the span of twelve years. It was near bankruptcy several times where a mere million dollars could decide the fate of the bureaucracy. Its income came primarily from the customs revenue, foreign loans, and government bonds, as it had difficulty collecting taxes outside the capital even if the surrounding regions were controlled by allied warlords. After the 1920 Zhili–Anhui War, no taxes were remitted to Beijing outside of Zhili province.