Babrak Karmal was an Afghan politician who was installed as President of Afghanistan by the Soviet Union when they invaded in 1979. Karmal was born in Kamari and educated at Kabul University. When the People's Democratic Party of Afghanistan (PDPA) was formed, Karmal became one of its leading members, having been introduced to Marxism by Mir Akbar Khyber during his imprisonment for activities deemed too radical by the government. He eventually became the leader of the Parcham faction when the PDPA split in 1967, with their ideological nemesis being the Khalq faction. Under Karmal's leadership, the Parchamite PDPA participated in Mohammad Daoud Khan's rise to power in 1973, and his subsequent regime. While relations were good at the beginning, Daoud began a major purge of leftist influence in the mid-1970s. This in turn led to the reformation of the PDPA in 1977, and Karmal played a major role in the 1978 Saur Revolution when the PDPA took power, though in later years he denounced it.