The flag of the Republic of the Rio Grande was used in 1840, during 283 days from January 17 to November 6, as long as the republic existed. This country was formed by the northeastern Mexican states of Coahuila, Nuevo León, and Tamaulipas. The flag was no longer used following the defeat of the Republic of the Rio Grande by Mexican troops.