On June 3, 1865, at Sheridan's behest, Major General Custer accepted command of the 2nd Division of Cavalry, Military Division of the Southwest, to march from Alexandria, Louisiana, to Hempstead, Texas, as part of the Union occupation forces. Custer arrived at Alexandria on June 27 and began assembling his units, which took more than a month to gather and remount. On July 17, he assumed command of the Cavalry Division of the Military Division of the Gulf (on August 5, officially named the 2nd Division of Cavalry of the Military Division of the Gulf), and accompanied by his wife, he led the division (five regiments of veteran Western Theater cavalrymen) to Texas on an arduous 18-day march in August. On October 27, the division departed to Austin. On October 29, Custer moved the division from Hempstead to Austin, arriving on November 4. Major General Custer became Chief of Cavalry of the Department of Texas, from November 13 to February 1, 1866, succeeding Major General Wesley Merritt.  During his entire period of command of the division, Custer encountered considerable friction and near mutiny from the volunteer cavalry regiments who had campaigned along the Gulf coast. They desired to be mustered out of Federal service rather than continue campaigning, resented imposition of discipline (particularly from an Eastern Theater general), and considered Custer nothing more than a vain dandy.  Custer's division was mustered out beginning in November 1865, replaced by the regulars of the U.S. 6th Cavalry Regiment. Although their occupation of Austin had apparently been pleasant, many veterans harbored deep resentments against Custer, particularly in the 2nd Wisconsin Cavalry, because of his attempts to maintain discipline. Upon its mustering out, several members planned to ambush Custer, but he was warned the night before and the attempt thwarted.

Answer this question "How long did the reconstruction take ?" by extracting the answer from the text above.