Season 23 Episode 9: The Trial of a Time Lord: Part 9
With the prosecution case concluded, at last the Doctor is able to present his evidence. It takes place in the future with a new companion and new problems.