History of Lima was decided, at the Battle of Ayacucho on December 9, 1824, Lima was considerably impoverished. After the war of independence, Lima became the capital of the Republic of Peru but economic stagnation and political turmoil brought its urban development to a halt. This hiatus ended in the 1850s, when increased public and private revenues from guano exports led to a rapid expansion of the city. In the next two decades, the State funded the construction of large size public buildings to replace colonial establishments; these included the Central Market, the General Slaughterhouse, the Mental Asylum, the Penitentiary, and the Dos
Lima Province divided into 43 districts. Each of them is headed by a mayor, although the Metropolitan Lima Municipal Council ("Municipalidad Metropolitana de Lima"), led by the mayor of Lima, also exercises its authority in these districts. All the districts of Lima province are fused together in a continuous urban area, with the exception of the beach resorts of Ancon and Santa Rosa in the north and Pachacamac, Punta Hermosa, Punta Negra, San Bartolo, Santa Maria del Mar and Pucusana in the south. Lima Province is administered by the Metropolitan Municipality of Lima ("Municipalidad Metropolitana de Lima"), which also administers the city