married to Yrcanos. The Master and the Valeyard appeared to be trapped in the Matrix, with the Valeyard apparently being destroyed by the feedback from the particle disseminator, but at the end of the serial, the Valeyard was seen disguised as the Keeper of the Matrix. The subsequent whereabouts of the Valeyard have never been disclosed in the television series. In the 2013 episode "The Name of the Doctor", the Great Intelligence states that "Valeyard" is one of the names by which the Doctor will be known before the end of his life. In the 2017 episode "Twice Upon a Time", the entity Testimony tells the First Doctor that one of his future titles is "the Shadow of the Valeyard". In other media The Valeyard has appeared in some of the spin-off media. In these stories, the Doctor is aware that he has the potential to become the Valeyard and tries to step away from any path that might lead him to that future. In the Virgin Publishing Missing Adventure Millennial Rites by Craig Hinton, the Sixth Doctor succumbed to his darker side and became the Valeyard very briefly due to reality being destabilised by three competing laws of physics being concentrated in one place, allowing the dormant potential of the Valeyard within the Doctor to take control of his body, but the Doctor's true persona was able to regain control when he nearly killed an innocent child. In a confrontation with the Valeyard in his mind, the Doctor accepted the Valeyard's argument that the more ruthless course of action could sometimes be necessary, but rejected the Valeyard's belief that he had to enjoy such actions to commit them. Throughout the New Adventures, the Seventh Doctor is tormented by the knowledge that he might become the Valeyard, with it being implied that his potential presence in the Doctor's mind drove the Sixth Doctor to commit "suicide" by allowing the TARDIS to be caught in the Rani's tractor beam. With this revelation, the memory of the Sixth Doctor becomes increasingly associated with the Valeyard in the Seventh Doctor's mind, causing the past five Doctors – each one based on the present Doctor's memories of what they were like – to "lock" the Sixth Doctor's memory away for fear of what he might become. However, in The Room with No Doors, the Doctor learns to forgive himself for his past sins, removing