 While transporting the remains of the Master, an evil Time Lord, the Doctor suffers a TARDIS malfunction and ends up in San Francisco in 1999. The Master escapes and assumes a bodily form, the Doctor regenerates, and with the help of an attractive heart surgeon the Doctor must locate and defeat the Master before the turn of the millennium at midnight.