The National Police Force (Spanish: Cuerpo Nacional de Policía, CNP; ['kwerpo na?jo'nal de poli'?i.a]) is the national civilian police force of Spain. The CNP is mainly responsible for policing urban areas, whilst countryside policing is generally the responsibility of the Civil Guard, the Spanish gendarmerie. The CNP operates under the authority of Spain's Ministry of the Interior. They mostly handle criminal, judicial, terrorism and immigration matters. The powers of the National Police Force varies according to the autonomous communities, Ertzaintza in the Basque Country, Mossos d'Esquadra in Catalonia, and Policía Foral (Foruzaingoa) in Navarre are the primary police agencies while BESCAM in the Madrid region is more of a resources provider. In Andalusia, Aragon, Asturias, Galicia, and Valencia the National Police units are functionally acting directly under the orders of the Autonomous Communities to which they are attached.