Mexicans are poised to elect their first female president on Sunday in a high-stakes contest for both the country and its legal system.

Ruling party Morena candidate Claudia Sheinbaum, a protegee of current President Andrés Manuel López Obrador, holds a comfortable lead over rival Xóchitl Gálvez, according to polls.