After the establishment of the Viceroyalty of Peru in 1542, the Governorate of New Andalusia was replaced by the Governorate of the Río de la Plata, under the supervision of the Real Audiencia of Lima.