sentences:  He was replaced as viceroy by the governor of Chile, Agustín de Jáuregui.At the time of Guirior's removal from office, the Indigenous of Peru were on the verge of revolt.The revolt, led by Túpac Amaru II, broke out on November 4, 1780.