The Republic of Texas declared independence from Mexico during the Texas Revolution.
Source
More: Texas, Texas Declaration of Independence