Canon 5

DEFENSE OR PROSECUTION OF THOSE ACCUSED OF CRIME. It is the right of a member to undertake the defense of a person accused of crime, regardless of his personal opinion as to guilt of the accused. Having undertaken such defense, a member is bound by all fair and honorable means to present every defense that the law of the land permits to the end that no person may be deprived of life or liberty but by due process of law.