Mexico will almost certainly have its first female president in 2024, after the governing Morena party and the opposition coalition both chose women as their candidates.

Former Mexico City mayor Claudia Sheinbaum was named Morena’s candidate on Wednesday, despite runner-up Marcelo Ebrard’s last-minute denouncement of the process and demand for it to be redone.

Sheinbaum is a climate scientist-turned-politician who was widely believed to be the preferred choice of president Andrés Manuel López Obrador who is unable to run again.

Gálvez is a businesswoman who became a senator in 2018 and has seized media attention with her aspirational story of growing up with an Indigenous father and mestizo mother in Hidalgo state, before working her way through public university and into business and politics.