qnli question: Why did the first elected head of government of Mexico City resign? 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.