On 9 November, Liebknecht declared the formation of a "Freie Sozialistische Republik" (Free Socialist Republic) from a balcony of the Berliner Stadtschloss, two hours after Philipp Scheidemann's declaration of a German Republic from a balcony of the Reichstag. On 31 December 1918 and 1 January 1919, Liebknecht was involved in the founding of the Communist Party of Germany (KPD). Together with Luxemburg, Jogiches and Zetkin, Liebknecht was also instrumental in the January 1919 Spartacist uprising in Berlin. Initially, he and Luxemburg opposed the revolt, but they joined it after it had begun. The uprising was brutally opposed by the new German government under Friedrich Ebert with the help of the remnants of the Imperial German Army and militias called the Freikorps.