qnli question: Who was head of government after the first elected head of government? sentence: Cárdenas resigned in 1999 to run in the 2000 presidential elections and designated Rosario Robles to succeed him, who became the first woman (elected or otherwise) to govern Mexico City.