 He later became head of army security in the "Sécurité Militaire", led at the time by Mohamed Betchine.After Betchine's departure in 1987, Mediene was appointed general and a temporary chief of the intelligence organization.Soon after taking charge, he oversaw a reorganization of the "Sécurité Militaire", and renamed it the "Département du renseignement et de la sécurité" (DRS).