After Abraham Lincoln was elected President of the United States, Texas joined the newly formed Confederate States of America in 1861 and fought in the American Civil War in an attempt to become independent from the United States. The Confederates lost to the Union (the United States) in 1865. Texas was restored to full representation in Congress on March 30, 1870.