A Spanish mancomunidad constitutes a local entity within the national legal framework, to which those municipalities delegate some of their functions and powers. It is similar to a comarca, with the difference that comarca has somewhat different meanings in the various autonomous communities of Spain and mancomunidad is defined identically throughout the country. The municipalities in a single mancomunidad need not be coterminous (though they usually are). They are required to set a clear goal, create management bodies distinct from those of the individual municipalities, and provide the mancomunidad with its own budget.
In Spain there are a number of natural or historical regions that, despite of the strong identity and common goals of their inhabitants, are divided by provincial or even ancient kingdom borders. Examples of such regions are Tierra de Campos, Manchuela and Ilercavonia.
Such regions or comarcas have often not been able to achieve the necessary legal recognition for their administrative development within the existing provincial or autonomous frameworks. Therefore, their municipalities have resorted to organizing themselves in a mancomunidad.
Other groups of municipalities that don't face the problem of borders cutting across their natural region of comarca may form a mancomunidad for economical purposes, to improve local services or in order alleviate some form of historical administrative neglect owing to distance from and lack of communication with current administrative centers.