brigade was in Samuel G. French's division, Leonidas Polk's corps. The brigade comprised Jaques's Battalion, the 29th and 39th North Carolina, and 9th Texas Infantry, and the dismounted 10th, 14th, and 32nd Texas Cavalry Regiments. Ector's military career essentially ended on July 27, 1864, in fighting near Atlanta, Georgia. He was severely wounded and his left leg was amputated at the knee. The war ended before his recovery was complete, although he did travel to Mobile, Alabama, to assume command of the defenses there late in early 1865. Three brigades under Randall L. Gibson, James T. Holtzclaw, and Ector fought in the Battle of Spanish Fort on 8 April 1865 near Mobile. The much larger Union army seized part of the defenses, forcing the Confederates to evacuate Spanish Fort with the loss of 93 killed, 395 wounded, 250 missing, and 50 cannons. On May 4, the Confederate army formally surrendered at Citronelle, Alabama. Postbellum Matthew returned to Texas and moved to Marshall in 1868. After serving in several local judicial roles, he was elected to the Texas Court of Appeals in 1875, serving until his death in Tyler, Texas, in 1879. His remains were returned to the Methodist church in Marshall, and he is buried in the Greenwood Cemetery there. Honors Ector County, Texas, is named for him. See also List of American Civil War generals (Confederate) References Further reading Eicher, John H., and David J. Eicher, Civil War High Commands. Stanford: Stanford University Press, 2001. . Sifakis, Stewart. Who Was Who in the Civil War. New York: Facts On File, 1988. . Warner, Ezra J. Generals in Gray: Lives of the Confederate Commanders. Baton Rouge: Louisiana State University Press, 1959. . External links Entry about Mathew Duncan Ector from the Biographical Encyclopedia of Texas published 1880, hosted by the Portal to Texas History. Photo 1822 births 1879 deaths People from Putnam County, Georgia Confederate States Army brigadier generals People of Texas in the American Civil War People from Marshall, Texas Members of the Georgia House of Representatives Members of the Texas House of Representatives Texas state court judges Texas lawyers People from Greenville, Georgia Centre College alumni 19th-century American politicians 19th-century American judges 19th-century American lawyers Military personnel from Texas