Original: Hafizullah Amin ( ) ( August 1 , 1929 -- December 27 , 1979 ) was the second President of Afghanistan during the period of the communist Democratic Republic of Afghanistan .
Simplified: He was president during the time of the communist Democratic Republic of Afghanistan .