Babrak Karmal (January 6, 1929 - December 3, 1996) was the third President of Afghanistan (1980 - 1986) during the period of the communist Democratic Republic of Afghanistan.
Karmal became involved in Marxist political activities while a student at Kabul University, where he gained a law degree. He was a founding member of the People's Democratic Party of Afghanistan (PDPA) and served in the National Assembly from 1965 until 1973.
In 1967, when the party split into the Khalq and the Parcham factions, Karmal became the leader of the more moderate Parcham faction. The factions reunited in 1977, and in April 1978 seized control of Afghanistan. Karmal was initially deputy prime minister but following the rise of the rival Khalq faction he was soon 'exiled' as ambassador to Prague.
The PDPA was attempting to modernize the country in line with socialist ideas, but there was major unrest. In December 1979 the Soviets invaded Afghanistan and called Karmal back to be President of the Democratic Republic of Afghanistan.
Following the fighting with the mujahedeen in the 1980s, Moscow came to regard Karmal as a failure and blamed him for the problems. In May 1986 he was replaced as party leader by Mohammad Najibullah, and six months later he was relieved of the presidency. Karmal moved to Moscow, where he remained until his death.