In 1845, the Republic of Texas was annexed to the United States of America, becoming the 28th U.S. state. Border disputes between the new state and Mexico, which had never recognized Texas independence and still considered the area a renegade Mexican state, which led to the American War (1846–1848).