When it came to writing the final story for the Fifth Doctor (played by Peter Davison), Saward commissioned Holmes to write the storyline as he felt that Holmes's experience would allow him to create an epic departure for Davison and introduction of the Sixth Doctor.