It would be better to say: He had served in the army for ten years before he retired and married Using ‘had served’ in the first sentence doesn’t automatically link with the next sentence unless you use the conjunction ‘before’, which I have suggsested.