How Texas Became a State?

After the Texas revolution ended in April 1836,and when the Mexican president Antonio Lopez was captured, for the next nine years, Texas governed itself as an independent country.In the 1845, Texas was annexed to the United States, becoming the 28th state,called the Republic of Texas.