qnli question: When was the position of prime minister finally formalized? sentence: The title was first referred to on government documents during the administration of Benjamin Disraeli but did not appear in the formal British Order of precedence until 1905.