In his first career , he flew his way up the military ladder from fighter pilot to superintendent of the United States Naval Academy at Annapolis , from 1998 to 2002 , after being approved by the Senate Armed Services Committee and after receiving this input from Senator McCain : '' He told me , ` I want you to promise me one thing , that you wo n't worry about being the midshipmen 's friend .