The last battle between the Aztecs and the Zapotecs occurred between 1497 and 1502, under the Aztec ruler Ahuizotl. At the time of Spanish conquest of Mexico, when news arrived that the Aztecs were defeated by the Spaniards, King Cosijoeza ordered his people not to confront the Spaniards so they would avoid the same fate. They were defeated by the Spaniards only after several campaigns between 1522 and 1527. However, uprisings against colonial authorities occurred in 1550, 1560, and 1715. 