The head of state of the federation was a monarch, the German Emperor, who was also head of state of the largest constituent part to the federation as King of Prussia, while other constituent kingdoms, such as the Kingdom of Bavaria, Kingdom of Saxony or Kingdom of Wuerttemberg, wÃ¼rttemberg retained their own monarchs and. armies