For example governors and city mayors previously had been elected by their electorate but the new constitution gave the President the power to appoint such officials

Add punctuation
For example, governors and city mayors previously had been elected by their electorate but the new constitution gave the President the power to appoint such officials.