After Shanghai was occupied by the revolutionaries in November 1911, the Tongmenghui moved its headquarters to Shanghai. After the Nanjing Provisional Government was established, the headquarters was moved to Nanjing. A general meeting was held in Nanjing on 20 January 1912, with thousands of members attending.