From 1871 it was part of the German Empire, and after World War I it became part of the Weimar Republic. Its capital was the city of Dresden, and its modern successor state is the Free State of Saxony.