Wright was elected as an alternate Democratic statewide elector for the 1860 presidential election. In December of that year he was appointed chairman of a committee to draw up a plan of secession for the state. In October 1861 he was elected to represent the Sixth Congressional District in the first regular session of the Confederate House of Representatives, where he served on the Patents, Claims, Enrolled Bills, and Indian Affairs committees. Although an opponent of taxation, in general Wright supported the policies of the Jefferson Davis administration. His most significant contributions to Confederate legislation were the exemption from conscription of all militiamen serving in frontier defense and the exemption from impressment of all slaves employed in the cultivation of grain. He was defeated in the congressional race of 1863 by Simpson H. Morgan and served for the remainder of the war as a major in the quartermaster corps on the staff of Gen. Edmund Kirby Smith.
After the war Wright practiced law for a time in Clarksville before returning to Paris in 1873. He is said to have defended the accused in ninety-three murder trials without losing a single case. He also remained active in politics, serving as a member of the Judiciary Committee of the Texas Constitutional Convention of 1875. Wright married a Miss Greer of Georgia in 1849, and they had four children. After her death he married Pink Gates of Mississippi in 1868; they had six children. In 1885 Wright moved to San Antonio, where he engaged in banking until his death on August 10, 1895.
29° 25.416, -098° 28.047