In most states, county and municipal governments exist side by side. There are exceptions to this, however. In some states, a city can, either by separating from its county or counties or by merging with one or more counties, become independent of any separately functioning county government and function both as a county and as a city. Depending on the state, such a city is known as either an independent city or a consolidated city-county. A consolidated city-county differs from an independent city in that in a consolidated city-county, the city and county both nominally exist, although they have a consolidated government, whereas in an independent city, the county does not even nominally exist. Such a jurisdiction constitutes a county-equivalent and is analogous to a unitary authority in other countries. In Connecticut, Rhode Island, and parts of Massachusetts, counties exist only to designate boundaries for such state-level functions as park districts or judicial offices (Massachusetts). In the Commonwealth of Puerto Rico, there are 78 municipalities and no counties.