noun
BAD : By the end of the war he had been promoted to the grade of captain.
GOOD : By the end of the war he had been promoted to the rank of captain.
◆◆◆
Soldiers, sailors, police officers etc have different ranks (NOT grades ): 'She joined the police force in 1990 and quickly rose to the rank of sergeant.'