Original: Saxony became a republic with the demise of the German Empire in 1918.
Simplified: Saxony became a republic at the end of the German Empire in 1918.