 His attempt to devise a constitution in 1818 that would legitimize his government failed, as did his effort to generate stable funding for the new administration.O'Higgins's dictatorial behavior aroused resistance in the provinces.This growing discontent was reflected in the continuing opposition of partisans of Carrera, who was executed by the Argentine regime in Mendoza in 1821, like his two brothers were three years earlier.