When was Texas officially called Texas?

I believe somewhere in 1836, after winning it's independence from Mexico, unless you mean when it became a state in the U.S. in 1845.