Input (grade 7): Saxony became a republic with the demise of the German Empire in 1918.
Output (grade 7): Saxony became a republic at the end of the German Empire in 1918.