There is a municipal police force controlled by the Ministry of Territorial Administration; a national police force controlled by the Ministry of Security; and an autonomous Regiment of Presidential Security (''Régiment de la Sécurité Présidentielle'', or RSP), a 'palace guard' devoted to the protection of the President of the Republic. Both the gendarmerie and the national police are subdivided into both administrative and judicial police functions; the former are detailed to protect public order and provide security, the latter are charged with criminal investigations.