The historic district was one of the early Spanish missions in Texas, built for the education of local American Indians after their conversion to Christianity. The mission was secularized in 1793 and then abandoned. Ten years later, it became a fortress housing the Second Flying Company of San Carlos de Parras military unit, who likely gave the mission the name Alamo. During the Texas Revolution, Mexican General Martín Perfecto de Cos surrendered the fort to the Texian Army in December 1835, following the Siege of Béxar. A relatively small number of Texian soldiers then occupied the compound for several months. The defenders were wiped out at the Battle of the Alamo on March 6, 1836. As the Mexican Army retreated from Texas several months later, they tore down many of the Alamo walls and burned some of the buildings.