The German Empire consisted of 26 constituent territories, with most being ruled by royal families. This included four kingdoms, six grand duchies, five duchies (six before 1876), seven principalities, three free Hanseatic cities, and one imperial territory. Although Prussia became one of several kingdoms in the new realm, it contained most of its population and territory, thus remaining a powerhouse with a major say in imperial affairs. Its influence also helped define modern German culture.