Juan de Leyva de la Cerda, conde de Baños y marqués de Leyva y de Ladrada (February 2, 1604, Alcalá de Henares – March 27, 1678, Guadalajara, Spain) was a Spanish nobleman and viceroy of New Spain from September 16, 1660 to June 28, 1664.
De Leyva de la Cerda was a member of the old nobility of Spain. He was a descendant of King Alfonso X of Castile. At the side of his maternal grandfather, Pedro de Leyva y Mendoza, capitan general of the galleys of Spain, Naples and Sicily, he entered the service of the Crown at a young age in the navy. He fought against Algerian pirates and later, in 1626, Catalan rebels of Tarragona.
He was named viceroy of New Spain under King Philip IV of Spain on February 26, 1660, at the age of 56. He entered the capital of the viceroyalty on September 16, 1660, accompanied by his family. Leyva de la Cerda had a reputation for arrogance, rudeness and unlimited cupidity, as did members of his family. His term as viceroy was not a success.
Shortly after his arrival, the viceroy's son Pedro had an altercation with a servant of the conde de Santiago. He killed the servant with his sword. When the conde reproached him for his conduct, Pedro de Leyva hired some assassins to kill the conde. This did not succeed, and resulted in hatred of the viceroy and his family among the aristocracy of the viceroyalty. A long stream of complaints and accusations were received in Madrid.
The excesses and abuses of his subordinates provoked the revolt of various groups of Indians. The most notable of these occurred in 1661, when the Indians of Tehuantepec, led by the mayor, Juan Arellano, rose in rebellion. They were pacified by the intervention and mediation of the bishop of Oaxaca, Alonso Cuevas Dávalos.
In 1662 the viceroy ordered a change in the route of the procession of Corpus so that it would pass in front of the palace, where his wife could view it from her balcony. The chapter of the cathedral made strong protests, and the Court not only disapproved the viceroy's decision, but also fined him twelve thousand ducats.
He seized lands and properties to give them to his family and friends and to cover a loan of 200,000 pesos the treasury of New Spain had advanced to the Spanish Crown. (In 1662 he appropriated the lands around his country estate so that the retainers who accompanied him on his visits could live there.) Also in 1662 he seized the merchandise arriving in Veracruz from Europe in order to require the Mexico City merchants for whom it was intended to contribute immediately to the funds he was remitting to Spain.