The Ministry of the Interior (Spanish: Ministerio del Interior) is a department of the Government of Spain responsible for public security, the protection of the constitutional rights, the command of the law enforcement agencies, national security, immigration affairs, prisons and road traffic safety.