Tepotzotlán is a city and a municipality in the Mexican state of Mexico. It is located 40 km (25 mi) northeast of Mexico City about a 45-minute drive along the Mexico City-Querétaro at marker number 41. In Aztec times, the area was the center of a dominion that negotiated to keep most of its independence in return with being allied with the Aztec Triple Alliance. Later, it would also be part of a "Republic of the Indians," allowing for some autonomy under Spanish rule as well. The town became a major educational center during the colonial period when the Jesuits established the College of San Francisco Javier. The college complex that grew from its beginnings in 1580 would remain an educational center until 1914. Today this complex houses the Museo del Virreinato (Museum of the Vice Regal or Colonial Period), with one of the largest collections of art and other objects from this time period.