Rights and duties of an attorney