(a) Duties of assigned or retained counsel. (1) It shall be the duty of counsel assigned to or retained for the defense of a defendant in a criminal action or proceeding to represent defendant in the trial court until the action or proceeding has been terminated in that court, and to comply with the provisions of paragraph (b)(1) or (d)(2) of this section, after which the duties of assigned counsel shall be ended. (2) It shall be the duty of counsel assigned to prosecute or defend an appeal on behalf
(a) Preference. (1) Any party to an appeal entitled by law to a preference in the hearing of the appeal may serve and file a demand for a preference which shall set forth the provision of law relied upon for such preference. If the demand is sustained by the court, the appeal shall be preferred. (2) A preference under CPLR 5521 may be obtained upon good cause shown in an application made to the court on notice to the other parties to the appeal. (b) Dismissal of appeal or cause. In the event the