The Beagle conflict was still an unresolved problem with Chile, despite the 1978 Papal mediation. The military, troubled by the trial of the juntas, called for rejection of the proposed agreement and a continuation of the country's claim over the islands. Alfonsín called for a referendum to settle the dispute. Despite opposition from the military and the Justicialist party, who called for abstention, support for the resolution referendum reached 82%. The bill passed in the Senate by a single vote majority, as the PJ maintained its resistance. The Treaty of Peace and Friendship of 1984 between Chile and Argentina was signed the following year, ending the conflict. The human rights violations committed by the Chilean president Augusto Pinochet remained a contentious issue, as well as the revelation of Chilean assistance to British forces during the Falklands War. The Argentine church invited Pope John Paul II for a second visit to Argentina in 1987, to celebrate his successful mediation. He celebrated World Youth Day next to the Obelisk of Buenos Aires, and gave a mass at the Basilica of Our Lady of Luján.