Khadamat-e Aetla'at-e Dawlati (Pashto/Persian 'خدمات اطلاعات دولتی') translates directly to English as: "State Intelligence Agency". However, this phrase is more precisely translated as "State Information Services", Khadamat-e Aetela'at-e Dawlati, almost always known by its acronym KHAD (or KhAD), is the main security agency and intelligence agency of Afghanistan, and also served as the secret police during the Soviet occupation. The successor to AGSA (Department for Safeguarding the Interests of Afghanistan) and KAM (Security and Intelligence Organization), KHAD was nominally part of the Afghan state, but it was firmly under the control of the Soviet KGB until 1989. In January 1986 its status was upgraded and it was thereafter officially known as the "Ministry of State Security" (Wizarat-i Amaniyyat-i Dawlati, or WAD).
After the December 1979 Soviet invasion, the KAM was renamed KhAD and came under the control of the KGB. This was an agency specifically created for the suppression of the Democratic Republic's internal opponents. However, KHAD has continued to operate after the fall of the Soviet-backed government in 1992 and acted as the intelligence arm of the United Front or "Northern Alliance" during the civil war in Afghanistan (1992-1996).
Little is known of its internal organization and most of its records were either destroyed by the Taliban (along with its headquarters) or were taken to Moscow by the KGB (particularly ones which outlined membership, informants, and assignments with Soviet or KGB personnel) where they remain classified to this day. KHAD's system of informers and operatives extended into virtually every aspect of Afghan life, especially in the government-controlled urban areas. Aside from its secret police work, KHAD supervised ideological education at schools and colleges, ran a special school for war orphans, and recruited young men for the militia.