he kept the position until the end of the civil war