qnli question: When was prime minister first mentioned in a government document in the UK? sentence: Though it had de facto existed for centuries, its first mention in official state documents did not occur until the first decade of the twentieth century.