As the German Revolution began, Hindenburg and Groener advised the Emperor to abdicate. Groener subsequently came to an agreement with the Social Democrat leader Friedrich Ebert known as the Ebert–Groener pact under which the Army leadership agreed to back the new republican government.