The Otomí founded a settlement here in the 15th century that was soon absorbed by the Aztecs, then by Spaniards in 1531. Franciscan monks used it as a missionary base not only to Mexico but also to what is now southwestern USA. In the early 19th century, Querétaro became a center of intrigue among disaffected criollos plotting to free Mexico from Spanish rule. Conspirators, including Miguel Hidalgo, met secretly at the house of Doña Josefa Ortiz (La Corregidora), who was the wife of Querétaro’s former corregidor (district administrator).
When the conspiracy was uncovered, the story goes, Doña Josefa was locked in her house (now the Palacio de Gobierno) but managed to whisper through a keyhole to a co-conspirator, Ignacio Pérez, that their colleagues were in jeopardy, leading to Padre Hidalgo’s call to arms.
In 1917 the Mexican constitution was drawn up by the Constitutionalist faction in Querétaro. The PNR (which later became the PRI, the Institutional Revolutionary Party) was organized in Querétaro in 1929, dominating Mexican politics for the rest of the 20th century.