After the establishment of the republic he rose in the army, until, at the age of twenty-eight, he had obtained the rank of general.
He rose in the army. This was after the establishment of the republic. He had obtained the rank of general. This was at the age of twenty-eight.