The constitution had called for naming the speaker of parliament as interim president until elections are held in two months .