For most of the colonial period, the area was sparsely populated, including the town of Taxco itself. For this reason, it was governed as a dependency of Mexico City. When the modern state of Guerrero was created in 1850, Taxco was chosen to be the seat of the municipality of the same name. Since it was the only town of any size in the area, the town was taken a number of times during a number of different conflicts. During the Mexican War of Independence, it was taken by Hermenegildo Galeana in 1815. During the Reform Wars, it was taken by Porfirio Diaz in 1865. During the Mexican Revolution, it was taken by Jesus Moran and Margarito Giles in 1911, and occupied by Carranza's forces in 1916.