Davies (qv) departure from the show in episode 3.17,  "The Exodus: Part 2". However, due to a mixing of the episode order,  it didnt premiere until after "The Exodus". Thus, a new scene at  the beginning was quickly added that allowed the episode to be told  as a flashback.