Real Audiencia of Lima City of Cusco and its [dependencies], inclusive, sharing borders in the north with the Royal Audiencia of Quito; in the south with the one of La Plata and in the west with the South Sea and in the east with undiscovered provinces, according to what is contained in, and pointed out, in Law 14 of this title. Real Audiencia of Lima The Real Audiencia and Chancery of Lima () was a superior court in the New World empire of Spain, located in the city of Lima, capital of the Viceroyalty of Peru. It was created on November 20, 1542 as
Lima under General José de San Martín landed south of Lima in 1820 but did not attack the city. Faced with a naval blockade and the action of guerrillas on land, Viceroy José de la Serna e Hinojosa evacuated its capital in July 1821 to save the Royalist army. Fearing a popular uprising and lacking any means to impose order, the city council invited San Martín to enter Lima and signed a Declaration of Independence at his request. However, the war was not over; in the next two years the city changed hands several times. After independence, Lima became the capital