Original: The Republic of Texas was an independent state in North America , bordering the United States and Mexico , that existed from 1836 to 1846 .
Simplified: The Republic of Texas ended on December 29 1845 , when Texas became the 28th state of the United States of America .