Who was head of government after the first elected head of government?