The Spanish State is divided into 17 autonomous communities and 2 autonomous cities, both groups being the highest or first-order administrative division in the country. Autonomous communities are divided into provinces, of which there are 50 in total, and in turn, provinces are divided into municipalities. In Catalonia, two additional divisions exist, the ''comarques'' (sing. ''comarca'') and the ''vegueries'' (sing. ''vegueria'') both of which have administrative powers; ''comarques'' being aggregations of municipalities, and the ''vegueries'' being aggregations of ''comarques''. The concept of a ''comarca'' exists in all autonomous communities, however, unlike Catalonia, these are merely historical or geographical subdivisions.