When Piérola was appointed provisional president by the Assembly of Ayacucho, García y García was appointed president of the Council of Ministers and Minister of Foreign Relations, a position he held from October 30 to November 28, 1881. The ministerial cabinet was made up of Andrés A. Cáceres, Pedro Alejandrino del Solar, Lizardo Montero and Manuel Galup. After Piérola's resignation, García y García returned to Lima, where he was among the founders of the National Party, later called the Democratic Party. On February 5 of 1882, an initiative taken by the same Piérola, in preparation for the future reconstruction of the country.
