Speaking generally, a lawyer has two main duties: 1) to uphold the law; and 2) to protect a client’s rights.