In 1871, there was much debate about the exact title for the monarch of those German territories (such as free imperial cities, principalities, duchies, and kingdoms) that agreed to unify under the leadership of Prussia, thereby forming the German Empire.