At the end of the Texas Revolution a peace agreement was negotiated between Texas and Mexico. The Treaty of Velasco allowed —
Mexican forces to escape the Alamo free from imprisonment
the construction of a monument commemorating the Battle of Jacinto
Texas to fly a flag with the worlds "Come and Take It"
the Republic of Texas to establish its independence