MEXICO CITY — The mayor of a city south of Mexico's capital was shot to death on Saturday, less than a day after taking office, officials said.

Gunmen opened fire on Mayor Gisela Mota at her house in the city of Temixco, said the government of Morelos state, where Temixco is located. Two presumed assailants were killed and three others detained following a pursuit, said Morelos security commissioner Jesus Alberto Capella. He said the suspects fired on federal police and soldiers from a vehicle.

On his Twitter account, Morelos Gov. Graco Ramirez attributed Mota's killing to organized crime, without citing a particular drug cartel or gang. Cartels seeking to control communities and towns have often targeted local officials and mayors in Mexico.