Original: They moved to Richmond where Robert took a post as the register of the Confederate Treasury.
Simplified: In Richmond, Robert worked as the register of the Confederate Treasury.