O'Higgins traveled to join Bolívar's army in its final liberation of Peru, but upon arrival, he found that Bolívar did not intend to give him a command—instead appointing him a general of Gran Colombia and making him a special court-martial judge for Chilean volunteers. Making his way back to Lima, O'Higgins heard of Sucre's victory at the Battle of Ayacucho. He returned to Bolívar for the victory celebrations, but as a civilian. "Señor", he toasted, addressing Bolívar, "America is free. From now on General O'Higgins does not exist; I am only Bernardo O'Higgins, a private citizen. After Ayacucho, my American mission is over."