Karlsruhe's palace was built between 1715 and 1718. For almost 200 years it served as the residence and seat of government of the margraves, the electoral princes and grand dukes of Baden.
https://www.karlsruhe-tourismus.de/en/Media/Attraktionen/Karlsruhe-Palace