For example, in the United States, a person holding the rank of general or admiral must retire after 40 years of service unless he or she is reappointed to serve longer. (10 USC 636 Retirement for years of service: regular officers in grades above brigadier general and rear admiral (lower half))