After the Eleventh Doctor was caught by NASA security for breaking into Apollo 11, Richard Nixon ordered his released using his authority as commander-in-chief of NASA and its employees Grant and Gardner. (TV: Day of the Moon)
Kate Stewart noted that, as President of Earth, the Twelfth Doctor was the commander-in-chief of every army on Earth. (TV: Death in Heaven)