He was assigned to manage (direct and take care) the Defense Military Security in 1964, and worked there until 1974. He was then promoted (his grade was changed to a superior one) to director-general of National Security at the Ministry of Interior in 1977. After that, he was assigned to take care of relations between Tunisia and the Kingdom of Morocco.