 He was interim viceroy until November 5, 1801, when Gabriel de Avilés, 2nd Marquis of Avilés arrived and took over the government.The revolt of Túpac Amaru was not the only one Arredondo faced during the time he was an administrator in Peru.Revolution broken out in Quito on August 10, 1809 in response to the installation of Napoleon's brother Joseph as king of Spain the previous year.