Miguel José de Azanza y Alegría, 1st Duke of Santa Fe, KOS (December 20, 1746, in Aoiz, Navarre – June 20, 1826 in Bordeaux, France) was a Spanish politician and diplomat, and viceroy of New Spain from May 31, 1798 to April 30, 1800. Origins and military career Azanza was born in Navarre. He studied in Sigüenza and Pamplona. He arrived in the New World at the age of 17, in the company of his uncle José Martín de Alegría, administrator of the royal treasury in Veracruz. He became secretary to the royal visitador (inspector), José de Gálvez, and with him he traveled throughout New Spain, learning much about its problems. Apparently Gálvez had him arrested in Sonora for divulging his (Gálvez's) whereabouts. Nevertheless, Gálvez entrusted Azanza with various important missions. In 1771 he became a cadet in the Lombardy infantry regiment in Spain. In 1774 he was in Havana as secretary of the Marquess of la Torre, captain general of Cuba. Together with Torre, he took part in the siege of Gibraltar (1781). Diplomatic and political career He left the military to take up a diplomatic career. Between 1784 and 1786 he was secretary of the Spanish embassy in Saint Petersburg and chargé d'affaires in Berlin. In 1788 he was corregidor of Salamanca, and the following year intendant of the army in Valencia. In 1793 he was Spanish minister of war under Prime Minister Manuel de Godoy. He served for three years, during war with France. As viceroy of New Spain On October 19, 1796 Azanza was named viceroy of New Spain. Many people took this as a discreet form of exile. Godoy was thought to want to rid himself of Azanza because he was a strong critic. Azanza took possession of the office of viceroy in 1798, at Orizaba. The change from Miguel de la Grúa Talamanca y Branciforte, marqués de Branciforte, viewed as an immoral thief, was welcomed by the populace. Grúa had stationed a considerable force of troops at Jalapa, Veracruz. Their expenses were costing the treasury a great deal and their absence from their homes had left their fields abandoned. Azanza withdrew most of the troops gradually, beginning May 15, 1799. He sent regiments of provincial militia back to their provinces. With the savings he fortified the port of San Blas and supplied it with cannons. He took steps to protect the coast from a