Babrak Karmal was introduced to Marxism by Mir Akbar Khyber, a Marxist and intellectual who was executed by the Afghan government in 1979. Khyber was a major influence on Karmal, and his ideas helped to shape the latter's political views.
Babrak Karmal: Unveiling the Enigmatic Leader of Afghanistan