"Time Inc" was the title for the concluding two-part story-arc as to have originally been written by Robert Holmes for episodes 13 & 14 when commissioned on 4 February 1986. However, Holmes was unable to work on the script past the first part due to his untimely death on 24 May 1986. Script editor Eric Saward was tasked with completing the story, his version of the script ending with the Doctor and the Valeyard locked in battle in the time vortex and no clear victor. This ending was disapproved by series producer John Nathan-Turner as being too down-beat and would end the show on an inconclusive moment should the BBC decide to cancel the series, with Saward annoyed by what he saw as Nathan-Turner reneging on what Saward and the late Holmes had long agreed for the series ending. John Nathan-Turner subsequently commissioned Pip & Jane Baker to write the final episode after Saward had withdrawn permission for his version of episode 14 to be used following the rejection of his proposed ending. The versions of episodes 13 and 14 that were transmitted were subsequently renamed as "The Ultimate Foe" on the final scripts, an early title that had been used for Pip and Jane Baker's transmitted episodes 9-12 serial that became "Terror of the Vervoids".