The information I have say that he was promoted to Captain when Andrews resigned in Jan. 1865,and surrendered April 29.1865 at Greensboro NC.