sentences:  Support for Castelli began to decline, mainly due to the favourable treatment of natives and the determined opposition of the church, which attacked Castelli through his secretary Bernardo Monteagudo and his public atheism.Both royalists in Lima and Saavedra in Buenos Aires compared them both with Maximilien Robespierre, leader of the Reign of Terror of the French Revolution.Castelli also abolished the mita in Upper Peru, a project that was shared by Mariano Moreno, but Moreno had been removed from the Junta by this point.