Input (grade 12): The Republic of Texas was an independent state in North America, bordering the United States and Mexico, that existed from 1836 to 1846.
Output (grade 11): The Republic of Texas was a sovereign state in North America between the United States and Mexico that existed from 1836 to 1845.