The Trial of a Time Lord: Part 14
S23, E14: Mel realises that the Valeyard has created a weapon within the Matrix that will destroy the Time Lords, and the Doctor is forced to rely on the Master for help.

S23, E14: Mel realises that the Valeyard has created a weapon within the Matrix that will destroy the Time Lords, and the Doctor is forced to rely on the Master for help.