In the medieval history of England, the office of justiciar formed the rough equivalent to that of the modern Prime Minister: the monarch's chief minister.