 With this defeat, the region of Upper Peru was finally lost to the United Provinces, and Spanish control was reestablished.For his success, in 1816 Pezuela was named interim viceroy of Peru by royal order dated October 15, 1815.The following year he was also promoted to lieutenant general and given the title "Marquis of Viluma".