According to the line of succession, First Vice President Francisco Tudela should have succeeded to the presidency, but he had also resigned a few days before after breaking with Fujimori. Second Vice President Ricardo Márquez then claimed the presidency. However, Congress refused to recognize him since he was one of the few who were still loyal to Fujimori. When it became apparent that Congress would not allow Márquez to take office, he resigned as well. Therefore, since the President of Congress stood third in the line of succession, Paniagua became acting president. Paniagua formed a Unity and National Reconciliation Government that received the support of almost all the political parties of the time. He then proceeded to form a broad-based cabinet, which involved non-partisan technologists and low-profile politicians. It was headed by former UN Secretary General Javier Pérez de Cuéllar as Prime Minister and Minister of Foreign Affairs, who was chosen to avoid the increasing political pressure from the different political parties. He also dismissed the remaining military commanders who had had any type of involvement with or political connection to Montesinos. Paniagua had to work with Fujimori's Peru 2000 party in Congress, since it still was the most important political organization (even though it no longer had a majority). Additionally, during most of his period, an important number of the infamous Vladivideos were published and investigated, since most of them recorded acts of corruption involving politicians, members of the clergy and important businessmen. Paniagua was also involved in the repeal of much of the anti-terrorist legislation enforced by Fujimori, which included trials by faceless judges and juries. This allowed the re-trial of several members of Shining Path, who were already in prison, in civilian courts instead of military ones. Paniagua also established a Truth and Reconciliation Commission to investigate the internal conflict in Peru. Post-presidency (2001–2006) Later political career When his time as President of the Republic came to an end, he transferred the government to the democratically elected president and winner of the national elections of 2001, Alejandro Toledo. In the same year, he was elected Secretary General of Acción Popular, replacing the long-time leader Fernando Belaúnde as the national leader of the political organization. For a brief period of time, it was speculated that the Peruvian government would support his candidacy for Secretary General of the Organization of American States (OAS) in the 2005 Secretary General election.