Joaquín de la Pezuela, 1st Marquis of Viluma

Joaquín de la Pezuela Griñán y Sánchez Muñoz de Velasco, 1st marquis of Viluma (Joaquín de la Pezuela Griñán y Sánchez Muñoz de Velasco, primer Marqués de Viluma) (1761–1830) was a Spanish military officer and viceroy of Peru during the War of Independence.

Background
Pezuela was born into a hidalgo family originally from Santander. He attended the Artillery College in Segovia. In the army, he fought in the siege of Gibraltar, and later against the French in Guipúzcoa and Navarre, in 1793 and 1794. In 1805 he went to America as head of the army in Alto Perú (now Bolivia).

From there he went to Peru, when Viceroy José Fernando de Abascal y Sousa named him directory of the Royal Artillery. He reorganized the artillery, with emphasis on its modernization and technical aspects. In 1813 he was promoted to brigadier.

Viceroy of Peru
A defender of the Spanish Crown in South America, Pezuela fought the insurgents. He defeated Manuel Belgrano on October 19, 1813 in the Battle of Vilcapugio and again on November 14, 1813 in the Battle of Ayohuma (in present-day Bolivia). After these victories he advanced to the south, occupying the cities of Jujuy (northern Argentina) on May 27, 1814 and Salta on July 25, 1814. However, he was forced to withdraw under continuing harassment by General Martín Miguel de Güemes's gauchos. He lost 1,200 men on the retreat back to Jujuy without having fought a single major battle.

In 1815 he fought José Rondeau, whom he defeated in the Battle of Sipe-Sipe or Viluma. This battle took place on November 29, 1815 near Cochabamba, Alto Perú. It is said to be one of the most serious defeats suffered by the insurgents in the Spanish American wars of independence. The insurgents lost 2,000 men and all their artillery.

For his success, in 1816 Pezuela was promoted to lieutenant general and given the title marqués de Viluma. By royal order dated October 15, 1815, he was named interim viceroy of Peru to replace Abascal. The following year he also became captain general of Peru.

In 1819 he was attacked in Callao by the squadron of Thomas Cochrane, and was forced to flee the port.

Coup and deposition
Relations between Viceroy de la Pezuela and his second in command, Lieutenant General José de la Serna deteriorated fast because De la Pezuela was an absolutist while de la Serna a liberal. De la Serna finally asked to be relieved of command so that he could retire to Spain. Permission was received in May 1819, and in September, de la Serna resigned the command of the army to General José Canterac. De la Serna had partisans in Lima, and upon his arrival there they demonstrated in favor of his remaining in Peru to face the threatened invasion of General José de San Martín from Chile. De la Pezuela agreed to promote de la Serna to lieutenant general and name him president of a council of war.

San Martin landed in Pisco, on September 8, 1820. De la Serna, through secret negotiations, was named commander-in-chief of the army gathered at Aznapuquio to protect the capital against San Martin's advance. He was ordered by the viceroy to march to Chancay. On January 29, 1821, the principal officers of the camp, partisans of de la Serna, petitioned Viceroy de la Pezuela to resign in favor of de la Serna. De la Pezuela refused and ordered de la Serna to subdue the mutiny, but de la Serna claimed to be unable to do so. The viceroy, seeing his authority evaporate, turned over the executive power on the evening of the same day. Later, the results of this coup were recognized by Spain.

Later life
Pezuela returned to Spain in 1825, where he was captain general of New Castile. He died in Madrid in 1830. His eldest son was Manuel de la Pezuela, 2nd Marquis of Viluma. Another son was Juan de la Pezuela y Ceballos, conde de Cheste (1809–1906), born in Lima, was a general in Spain, a conservative politician, and a man of letters. He was minister of the navy and of commerce in the Spanish cabinet, and later a senator. As minister of the navy, he developed the concept of an ocean-going torpedo gunboat. As a result, naval officer Fernando Villaamil conceived the Destructor, built in 1885 in Britain and a precursor of the modern destroyers.