Ribos

Ribos is a medieval planet visited by the Fourth Doctor, K-9 Mark II, and Romana I on the first part of their quest for the Key to Time, in the episode The Ribos Operation.