The common law principle of legal professional privilege is of extremely long standing.
The principle originated as protection for individuals when accessing the knowledge and legal resources available to a lawyer and was said to stem from the "oath and honour" of the lawyer, a sort of special contractual relationship.