This extract is taken from the trial of Queen Caroline.
Queen Caroline had separated but not divorced from King George. She went abroad and it was claimed that she was co-habiting with a man. Caroline was put on trial – effectively for adultery.
Lord Brougham said,
[A]n advocate , in the discharge of his knows but one person in all the world, and that person is his client. To save that client by all means and expedients, and at all hazards and costs to other persons, and, amongst them, to himself, is his first and only duty; and in performing this duty he must not regard the alarm, the torments, the destruction which he may bring upon others. Separating the duty of a patriot from that of an advocate, he must go reckless of consequences, though it should be his unhappy fate to involve his country in confusion.
 Later Lord Chancellor.
This reading is of historic interest.
The BSB Code of Conduct (contained in the BSB Handbook) now governs the ethical behaviour of barristers.