Anne "Annie" Hacker is a fictional character in the 1980s British sitcom Yes Minister and its sequel, Yes, Prime Minister. She was portrayed by Diana Hoddinott. In Yes Minister Annie is wife of Jim Hacker, Minister for Administrative Affairs, a cabinet post. In the last episode, "Party Games", her husband is appointed Prime Minister, for which he plays the title role throughout Yes, Prime Minister.