The first draft of the constitution for the Islamic Republic contained a conventional president and parliament but its only theocratic element was a Guardian Council to veto unIslamic legislation. However, in the summer of 1979 an Assembly of Experts for Constitution, dominated by Khomeini supporters, was elected. Their new draft gave the guardians much more power and added a powerful post of guardian jurist ruler intended for Khomeini. The new constitution was opposed by non-theocratic groups, both secular and Islamic, and set for approval by referendum in December 1979.