Niroc

Niroc was Lord President of the Time Lords after the Doctor was deposed during his long absence. The Celestial Intervention Agency removed Acting President Flavia from office and instated Niroc, a much more controllable President, in her place.

It was believed that Niroc oversaw or took part in Operation Ravolox and had purposefully put the Doctor on trial to prevent the truth from coming out. His High Council enlisted the Valeyard, a future manifestation of the Doctor's evil side, to act as prosecutor and present fake evidence at the trial. In return, the Valeyard would receive the Doctor's remaining regenerations. (TV: The Trial of a Time Lord, PROSE: The Eight Doctors)

At the end of Niroc's presidency, the details of the Ravalox incident were revealed, and Gallifrey faced threats of disunity, as well as a potential Shobogan uprising. The Eighth Doctor asked Rassilon to free Borusa from his imprisonment and lead Gallifrey out of this difficult period. (PROSE: The Eight Doctors)