Fearing bloodshed that the libertarian troops could cause the local population, in June 1822 the three governors of Upper Peru departments gathered in Cuiabá (Captaincy of Mato Grosso, Brazil) and asked the governor to take sides with the Prince Regent (future Emperor Pedro I) to occupy the territory for the United Kingdom of Portugal, Brazil and the Algarves. It was better (thought the governors) to be occupied by a monarchical State than to entertain the idea of rule by a fragile and uncertain republic.