MEXICO CITY, Mexico (CNN) -- Mexico City's police chief resigned Tuesday in the wake of a June 20 nightclub raid that sparked a stampede that killed 12 people.
Mayor Marcelo Ebrard said at a press conference he had accepted the resignation of Police Chief Joel Ortega.
Ortega and other police officials were highly criticized by a Human Rights Commission report that examined the tactics police used to find underage drinkers at the News Divine nightclub in northern Mexico City.
Mexico City police blocked the club's exit after they arrived to check reports of underage drinking there. Panic ensued among the roughly 500 patrons, and 12 people -- including three police officers -- were trampled to death. Many others were injured.
Thirty-nine people were arrested during the raid, including the owner of the club, who was accused of instigating the stampede by announcing the raid on a microphone inside the club.
Among the dead were a 13-year-old girl, a 16-year-old girl, a 14-year-old boy and three 18-year-old men.
The legal age for drinking in Mexico is 18.
A criminal investigation launched after the incident cleared Ortega of wrongdoing. Ortega wasn't deemed to have ordered the raid, but his position ultimately led to him taking most of the blame.