Mexicans have elected Claudia Sheinbaum to be their next president in a landslide endorsement of the ruling party that for the first time puts a woman in charge of the country.

The hand-picked successor of President Andrés Manuel López Obrador will rule alongside a substantial majority in both chambers of Congress, as her Morena party seeks to consolidate power in Latin America’s second-largest economy.