Question: Who was the second head of government elected?
Sentence: In 2000 Andrés Manuel López Obrador was elected, and resigned in 2005 to run in the 2006 presidential elections, Alejandro Encinas being designated by the Legislative Assembly to finish the term.
Answer in sentence: yes