What year did Neil Armstrong retire in?

The question is not clear. Is it retiring from the navy or from N.A.S.A.