Elections were held in the Federal District of Mexico (Mexico City) on July 1, 2012 to elect the district's Head of Government, all 66 deputies of the Legislative Assembly, and 16 borough mayors. The election coincided with the 2012 presidential and general elections.
Outgoing Head of Government Marcelo Ebrard, who was elected to the office in 2006, of the Party of the Democratic Revolution (PRD) was term-limited and was not allowed to seek re-election. District Attorney General Miguel Ángel Mancera, the candidate of the PRD-supported "Movimiento Progresista" coalition, was elected 7th Head of Government of the Federal District.
Head of Government election.
Background and campaign.
Going into the 2012 election, the PRD had governed Mexico City since 1997. Under the PRD's leadership, the city adopted liberal social policies, including gay marriage, abortion, and no-fault divorce. Going into the 2012 election, term-limited Head of Government Marcelo Ebrard was considered politically popular.
PRD nomination.
Polling in April 2011 conducted by "El Universal" found Alejandra Barrales, the head of the PRD group in the legislative assembly, to be the most popular potential PRD candidate for Head of Government. In the survey, Barrales took 24% of the vote, with Secretary of Social Development Martí Batres taking 13%. 
In January 2012, Mexico City Attorney General Miguel Mancera was chosen as the candidate of the "Movimiento Progresista" coalition, which comprised the PRD, the Labor Party, and the Citizens' Movement.
Local elections.
Legislative Assembly election.
The "Movimiento Progresista" coalition won a majority in the Legislative Assembly.
Borough mayor elections.
Elections were held for all 16 borough mayor positions.
References.
 ;templatestyles src="Reflist/styles.css" / ;