The Centro Superior de Información de la Defensa (; CESID) was the Spanish intelligence agency before the current Centro Nacional de Inteligencia (CNI) took over as its successor in 2002. History Following the dissolution of the Information Service and Military Police, Servicio de Información y Policía Militar (SIPM) at the end of the civil war, the intelligence organizations of the Francoist period were the Central Documentation Service, Servicio Central de Documentación (SECED), the Political-Social Brigade, Brigada Político-Social (BPS)—a special branch of the plainclothes corps later renamed Brigada de Investigación Social (BIS) (Social Investigation Brigade)—and the Intelligence Service of the Civil Guard. Keeping files on the rural and urban population of every part of Spain, these bodies carried on close surveillance and political intimidation on behalf of the Francoist government. But the most notable of all was the which was the abbreviated name for the Servicios de Información del Ejército de Tierra, la Armada y el Ejército del Aire (Information Services of the Army, Navy and Air Force). It was the Second “Section”, or Intelligence, of the respective Headquarters, hence the name “Segunda” or Second. During the 1940s, its main role was to counter the activities of the Spanish Maquis in their attempted resurgence in Spain who on October 1944, attempted an invasion of the Aran Valley. In 1957, its expenses amounted to 311,455₧ (€100,000). The Centro Superior de Información de la Defensa was established in 1977 by Defense Minister Manuel Gutiérrez Mellado to replace the discredited former organizations in order to prepare Spain for a more democratic rule. On 2 November 1977 The (SIPG) was merged with the CESID. By a royal decree of January 1984, CESID was defined legally as the intelligence agency of the prime minister. Nevertheless, it was fundamentally military in nature, and its head in 1988 was an army lieutenant general, . Observers speculated, however, that Manglano, who had held the post since 1981, eventually would be succeeded by a civilian. Employing about 2,000 individuals as of 1988, CESID was staffed primarily by the military, supplemented by 500 members of the Civil Guard and by 80 plainclothes police. About 30 percent of the members of the staff were civilians, said to be selected usually from among close relatives of military officers. Women had been confined largely to administrative tasks, but they were increasingly being entrusted with operational assignments. The principal operating units were domestic intelligence; foreign