The Ministry of Internal Administration (Portuguese: Ministério da Administração Interna or MAI), is the Portuguese government ministry responsible for the public security, the civil defense, the electoral administration, the road traffic safety and the immigration and refugee affairs.