The attorney-advocate rule is a rule of ethics in the legal profession that prohibits an attorney from acting both as…