What Texas war did Texas win?

For one, it won the Texas Revolution and gained its independence from Mexico in 1836.