San Miguel de Allende (sam miˈɣel de aˈʎende) is the principal city in the municipality of San Miguel de Allende, located in the far eastern part of Guanajuato, Mexico. A part of the Bajío region, the city lies from Mexico City, 86 km (53 mi) from Querétaro, and from the state capital of Guanajuato. The city's name derives from two persons: 16th-century friar Juan de San Miguel, and a martyr of Mexican Independence, Ignacio Allende, who was born in a house facing the city's central plaza. San Miguel de Allende was also a critical epicenter during the historic Chichimeca War (1540–1590) when the Chichimeca held back the Spanish Empire during the initial phases of European colonization. Today, an old section of the town is part of a proclaimed World Heritage Site, attracting thousands of tourists and new residents from abroad every year.
At the beginning of the 20th century, the town was in danger of becoming a ghost town after an influenza pandemic. Gradually, its Baroque/Neoclassical colonial structures were "discovered" by foreign artists who moved in and began art and cultural institutes such as the Instituto Allende and the Escuela de Bellas Artes. This gave the town a reputation, attracting artists such as David Alfaro Siqueiros, who taught painting.
This attracted foreign art students, especially former U.S. soldiers studying on the G.I. Bill after the Second World War. Since then, the town has attracted a significant number of immigrants from the United States and Canada, artists, writers and tourists, which has shifted the area's economy from agriculture and industry to commerce catering to outside visitors and residents.
The United Nations Educational, Scientific and Cultural Organization (UNESCO) designated the Protective town of San Miguel and the Sanctuary of Jesús Nazareno de Atotonilco as a World Heritage Site in 2008. The area of designation includes part of the town San Miguel de Allende and part of the town of Atotonilco, which are about 14 kilometers apart.