 However, he was soon assigned to command the Engineer Brigade in the XIX Corps in the Department of the Gulf from June through August.He then commanded the District of West Florida from August until November, when he was sent back to Louisiana to take charge of the District of Baton Rouge and Port Hudson.He held other commands in the Western Theater, including command of a cavalry division and an engineer brigade in the Military Division of West Mississippi until the war's end.