The Valeyard (He Jests at Scars...)

In one timeline, the Valeyard succeeded in killing the Doctor in the Matrix, gaining his knowledge and obtaining immortality. He created Chronopolis, a city within the Time Vortex around his TARDIS, which protected it from harm. The Valeyard placed a sample of every extinct species within it.

However, a great deal of this was an illusion: The Valeyard had travelled in time interfering so much in the lives of his past selves that he had radically damaged Time. He was hiding in his TARDIS, afraid to take any action lest he make things worse. The TARDIS generated the fantasy of Chronopolis to make the Valeyard feel safe. Mel became trapped with him, and the two were frozen in Time, possibly forever. Interestingly enough, The Valeyard at the this terrible end gained respect for The Doctor, referring to his greater wisdom and experience. Furthermore The Valeyard finally saw the damage his actions had done, using his last words before being frozen to apologise to Mel. (NOTDWU: He Jests at Scars...)