List of German monarchs in 1918
When the German Empire collapsed in 1918 at the end of World War I, it was a federal union made up of three free cities and 22 kingdoms, grand duchies, duchies and principalities, with an emperor, Wilhelm II, at its head. All of the 22 ruling monarchs – including Wilhelm, who was also King of Prussia – abdicated in November 1918 during the early weeks of the German revolution of 1918–1919.
Source: Wikipedia — List of German monarchs in 1918 (CC BY-SA 4.0)