<prompt> Ramba uchiverenga ndima iyi - Kumukira kwaTupac Amaru II ndiko kumwe kwekutanga kwakapokana nesimba reSpain pamusoro peViceroyalty yePeru  <response>: muna 1780. Mauto omumambo akaparadza kumukira kwokutanga uku, asi kwaizovaka hwaro hwokupandukirazve. Gare gare, kumukira kwakadai seTacna Rebellion ya1811 uye Cuzco Rebellion ya1814 kwakawedzera kushatisa vanhu. Nemhaka yokuti simba reSpain rokukoroni muAmerica rakanga ranyanya kunangidzirwa muVice-Kingdom yePeru, kupindira kwemasimba okumwe kwakanga kuchidikanwa kuti chimurenga chibudirire. Rwendo Rwokusunungura rwePeru, rwaitungamirirwa naGeneral José de San Martin, rwakanga rwuri kupindira kwakadaro. Mauto aMartin akabudirira mukutora guta guru reLima muna 1820, uye Peruvian Independence yakaziviswa musi wa 28 Chikunguru 1821. Muna 1824, nzira yokuwana rusununguko yakapedzwa nebetsero yaSimon Bolívar nokusainwa kweCapitulation yeAyachucho muna 1824. 