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 territories of present-day Lima, Callao and Ica regions, and the provinces of Casma, Huarmey and Santa, which later would be part of the La Costa Department. The department was further subdivided as time passed but the Lima Province kept being part of it. Due to the massive migration from other areas of the country, the need to separate the province from the rest of the department was forecast by experts. In 2002, the new regionalization law passed by President Alejandro Toledo made the Lima Province a separate entity from the rest of the newly created Lima Region. The province is