Original: He retired on 17 July 1920, retaining the rank of Colonel.
Simplified: He retired on 17 July 1920, having become a Colonel.