candidate: In the first clashes of the Independence War the Junta crushed a royalist counter-revolution in Córdoba , but failed to overcome those of the Banda Oriental , Upper Peru and Paraguay , which later became independent states .