During the Mexican War of Independence from Spain  the Yaqui did not participate on either side. It was when Occidente passed a law in 1825 making the Yaqui its citizens and subjecting them to taxes that the Yaqui decided to go to war, since they had not previously been subjected to taxes.  The first fighting was at Rahum.  The movement was encouraged by Pedro Leyva, a Catholic priest and took the Virgin of Guadalupe as its symbol. The Yaqui coalesced around Juan Banderas as their leader.  Banderas managed to get the Mayos, Opatas and Pimas to join in the war against the Mexican government.  Occidente was so affected by the war that the capital was moved from Cosala to Fuerte. In 1827 Banderas' forces were defeated by Mexicans in the vicinity of Hermosillo.  This defeat was partly due to the Yaquis having primarily bows and arrows, while the Mexicans had guns.  After this defeat, Banderas negotiated a peace with Occidente, in which he was granted pardon, and recognized as captain-general of the Yaqui town, and was given a salary. In 1828 the office of captain-general was abolished, and Occidente government reasserted its right to tax the Yaqui, as well as proposing a plan for allotting the Yaqui lands.  In 1832 Banderas renewed the war against the Mexican authorities, in cooperation with Dolores Gutiérrez, a chief of the Opata people. In 1833 Banderas and Gutiérrez were executed after their forces were defeated in a battle near Buenavista, Mexico.

Question: How many times Banderas waged war against the Mexican authorities?
Answer: 2

Question: Which tribes aligned with Yaqui in both of their wars against the Mexican authorities?
Answer: Opata

Question: How many other tribes joined force with Yaqui in their first war against the Mexican authorities?
Answer: 3

Question: How many years Banderas' second war last?
Answer: 1

Question: How many years passed between Banderas' defeat in Hermosillo and his execution?
Answer: 6

Question: Which event happened first, the office of captain-general being abolished or the execution of Banderas and Gutierrez?
Answer: Banderas and Gutiérrez were executed

Question: How many years did the renewed war against the Mexican authorities last before Banderas was executed?
Answer: 1

Question: How many years did these events span for?
Answer: 8

Question: What event happened first, Banderas renewing the war against the Mexican authorities, or Gutierrez being executed?
Answer: n 1832 Banderas renewed

Question: What event happened later, Banderas being executed, or the office of captain-general being abolished?
Answer: In 1833 Banderas and Gutiérrez

Question: What event happened first, Banderas forces being defeated by Mexicans, or Banderas renewing the war against Mexican authorities?
Answer: n 1828 the office

Question: What event happened first, Banderas being executed, or Occidente passing a law making the Yaqui its citizens?
Answer: Occidente passed

Question: What event happened later, Occidente passing a law making the Yaqui its citizens, or Banderas renewing the war against Mexican authorities?
Answer: n 1832 Banderas renewed