Don Rodrigo Pacheco y Osorio de Toledo, 3rd Marquess of Cerralvo () (c. 1565, Spain – June, 1652, Madrid) was a Spanish nobleman, inquisitor of Valladolid, and viceroy of New Spain. He held the latter position from November 3, 1624 to September 16, 1635. Early career and appointment as viceroy of New Spain Rodrigo Pacheco y Osorio was born in Spain in the 1560s. He was a relative of Juan Antonio Pacheco, viceroy of Catalonia. After distinguishing himself in military service, he was named inquisitor of Valladolid. When the rioting and disorders involving the previous viceroy, Diego Carrillo de Mendoza, 1st Marquess of Gelves, and the archbishop of Mexico, Juan Pérez de la Serna came to the attention of King Philip IV of Spain, he chose Pacheco y Osorio to investigate the causes and take charge of the government. Pacheco received specific, detailed instructions, among them to uncover the true causes of the disorders and punish those in the wrong. He was given extraordinary powers to accomplish these ends. Foreign threats He arrived in Mexico City on November 3, 1624, and took up the reins of government. However, his specific instructions were put aside so that he could deal with more urgent matters. Spain was now at war with France and the Dutch Republic, and a Dutch fleet was menacing the Pacific port of Acapulco. Pacheco immediately busied himself with the defense of Acapulco. On December 15, 1628 Dutch Admiral Piet Hein captured a Spanish fleet in the straits between Florida and the Bahamas. This fleet was transporting 12 million pesos (mostly gold) and much merchandise from New Spain to the mother country. Later in his administration, Dutch corsairs occupied the city of Campeche (April 17, 1633), but were driven out by 200 militiamen under the command of Captain Francisco Maldonado. However they returned August 12, under Jean de Fors, and sacked the city. To protect against Indian incursions from the north, Pacheco established the presidio of Cerralvo in the New Kingdom of León y Castilla (present day Nuevo León). The drainage projects The other major problem facing the new viceroy was drainage, a perennial problem for Mexico City resulting in major flooding from the early sixteenth century through to the late nineteenth century. After major flooding in 1607, there was a large-scale project to drain water from the city via a combination of an open drainage ditch and tunnels.