What was the capital of the union of provinces in the Río de la Plata comprised by most of the former dependencies from the last to be organized and also the shortest-lived of the Viceroyalties of the Spanish Empire in the Americas?
United Provinces of the Rio de la Plata The United Provinces of the Río de la Plata (Spanish: "Provincias Unidas del Río de la Plata" ), earlier known as the United Provinces of South America (Spanish: "Provincias Unidas de Sudamérica" ), a union of provinces in the Río de la Plata region of South America, emerged from the May Revolution in 1810 and the Argentine War of Independence of 1810–1818. It comprised most of the former Viceroyalty of the Río de la Plata dependencies and had Buenos Aires as its capital.
Real Audiencia of Lima The Real Audiencia and Chancery of Lima (Spanish: "Audiencia y Chancellería real de 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 was the viceroyalty itself, by the Emperor Charles V. The Audiencia began functioning in 1543 and initially had jurisdiction over the entire viceroyalty—virtually all of Spanish-controlled South America and Panama. Later other "audiencias" were established in the Viceroyalty. The Audiencia functioned until 1821 when the forces of José de San Martín entered Lima.