Created on January 22, 1535, the foundation of the city and the constitution of the municipal government was confirmed almost a year later, by the Real Cédula of December 7, 1535.
At the administrative level, it was in charge of presiding over public shows, supervising the cleanliness of the city, organizing the reception of the viceroys, taking care of the decoration of the streets and low-level police.
Among the economic functions, the fixing of food prices and the control of the entry into the city of the necessary merchandise and the administration of income from real estate properties.
Under the jurisdiction of the Cabildo of Lima was:[3][4] The corregimientos were suppressed in 1784 by Charles III, as a consequence of the rebellion of Túpac Amaru II and replaced by the intendencias.
[5] During the Peruvian War of Independence, José de San Martín issued the Provisional Statute on October 8, 1821, which established the creation of republican municipalities, which in some structural and administrative aspects resembled the colonial council.