The lone star republic lasted from 1836 to 1845. In 1836 they became apart from Mexico and in 1845 they joined the growing nation of the United States becoming the 28th state. Therefore lasting 9 years