The Walls of Lima were a fortification consisting mainly of walls and bastions whose purpose was to defend the city of Lima from exterior attacks. It was built between 1684 and 1687, during the Viceroy Melchor de Navarra y Rocafull (Duke of Palata)'s government.
The wall was located on the present streets of Alfonso Ugarte, Paseo Colón and Grau and the left bank of Rímac River. Under Luis Castaneda Lossio's management, he recovered a section of the remains of the left bank of the Rímac River, which are now visible as a part of the group known as "Parque de la Muralla," although these are probably from a previous construction known as "Tajamar de San Francisco." The Santa Lucía bastion is a sector of the wall located on the edge of Barrios Altos and El Agustino that still stands .
The old wall was built around the city to protect it from pirates attacks and other enemies of the Spanish crown in the 17th century. The wall had 10 exit and entry gates: Martinete, Maravillas, Barbones, Cocharcas, Santa Catalina, Guadalupe, Juan Simón, San Jacinto, Callao, Monserrate and the gate of la Guía en el Barrio de San Lázaro (now the Rímac district).
As part of urban expansion programs and construction of new avenues, the wall was demolished in 1868 under José Balta's government. The wall never served the purpose for which it was built, to the point that Raúl Porras Barrenechea mentioned that "it died a virgin of gunpowder."
Part of the sea wall has been restored at the back of the Church of San Francisco, near the Government Palace, which has created a public space named Parque de la Muralla (The Wall Park). In this park, the remnants of the foundations that had been the seawall are visible, which was done by the Franciscans in 1610. The aforementioned park has a restaurant and a shop selling hand-made items from different areas of the country. The park contains a statue of Francisco Pizarro, which used to be in the "Plaza Perú," located next to the Government Palace. There is also a museum exhibiting archaeological pieces found in the area.