Meanwhile, in Guangzhou, a communist uprising broke out on 11 December. The violent rebellion was quickly put down, and on 13 December, Chiang Kai-shek called for the ending of all remaining relations with the Soviet Union. The Nanjing government agreed, and also aired its suspicions over the allegiances of Wang Jingwei, who had been based in Guangzhou after the end of the Wuhan government. Wang left for exile in France on 17 December, paving the way for Chiang's return as commander-in-chief. With the military success of Chiang's Whampoa troops, the various KMT factions agreed to recognise the legitimacy of Chiang's leadership. Consequently, Chiang was officially invited to resume command of the NRA on 1 January 1928.