The Alamo is the name of former mission and fortress compound, now a museum, in San Antonio, Texas. The compound, which originally comprised a church and surrounding buildings, was built by the Spanish Empire in the 18th century for the education of local Native Americans after their conversion to Christianity. After its later abandonment as a mission, it was used as a fortress in the 19th century and was the scene of several military actions, including most notably the 1836 Battle of the Alamo, one of the pivotal battles between the forces of the Republic of Texas and Mexico during the Texas Revolution.
The mission was authorized in 1716 by the viceroy of New Spain. It was established two years later in 1718 by Fray Antonio de Olivares, who brought Indian converts and records with him from the San Francisco Solano Mission near San Juan Bautista on the Rio Grande.