Hecuba

Hecuba (also known as the Queen of Time) was a powerful being who ensnared sentient beings in games related to time manipulation, with their freedom as the stakes. She was the sister of the Celestial Toymaker.

Nature and powers
The powers of Hecuba were similar to those of her brother, but while he was fond of childish games, her games and traps were related to time and clocks.

Hecuba captured the Second Doctor, Zoe Heriot and Jamie McCrimmon, and made them play her games for her entertainment.

The Doctor eventually escaped Hecuba's domain, trapping her in a time loop for the rest of time. (AUDIO: The Queen of Time)