José Manuel de Goyeneche y Barreda, 1st Count of Guaqui (June 12, 1776, in Arequipa, Viceroyalty of Peru[1] – October 10, 1846 in Madrid[2]) was a Spanish soldier and diplomat.
He travelled when very young to Spain, to finish his studies, and entered the army as cadet, later raising to lieutenant of cavalry and captain of grenadiers.
In 1808, during the French invasion of the Iberian Peninsula, he was commissioned as representative of the legitimate government of Spain to the Supreme Junta in Seville with the rank of brigadier, for the proclamation of king Ferdinand VII in the viceroyalties of Peru and River Plate, to ensure the fidelity and compliance of those colonies to the legitimate Spanish king, take the news of the general revolt against French invasion of Spain and ask of help from the colonies.
[8] In a few weeks afterwards he occupied the whole of Upper Peru, including the cities of La Paz, Cochabamba, Chuquisaca and Potosí, re-establishing Spanish control over the territory.
In 1813, general Pío de Tristán, under orders from Goyeneche, chased the Army of the River Plate South to Argentine territory.