 The PDPA constitution was written during the party's First Congress in 1965.The constitution regulated all party activities, and modelled itself after the Leninist party model; the party was based on the principles of democratic centralism.Marxism–Leninism was the party's official ideology.