Successor Agent The Agent may resign at any time by giving ten (10) days' prior written notice to the Borrower and the Lenders. Upon any such notice of resignation, the Required Lenders will, with the prior written consent of the Borrower (which consent shall not be unreasonably withheld), appoint from among the Lenders a successor to the Agent (provided that the Borrower's consent shall not be required in the event a Default or Event of Default shall have occurred and be continuing). If no successor to the Agent shall have been so appointed by the Required Lenders and shall have accepted such appointment within such ten-day period, then the retiring Agent may, on behalf of the Lenders and after consulting with the Lenders and the Borrower, appoint a successor Agent from among the Lenders. Upon the acceptance of any appointment as Agent by a successor Agent, such successor Agent shall thereupon succeed to and become vested with all the rights, powers, privileges and duties of the retiring Agent, and the retiring Agent shall be discharged from its duties and obligations hereunder and under the other Credit Documents. After any retiring Agent's resignation as Agent, the provisions of this Article shall inure to its benefit as to any actions taken or omitted to be taken by it while it was Agent. If no successor to the Agent has accepted appointment as Agent by the thirtieth (30th) day following a retiring Agent's notice of resignation, the retiring Agent's resignation shall nevertheless thereupon become effective, and the Lenders shall thereafter perform all of the duties of the Agent hereunder and under the other Credit Documents until such time, if any, as the Required Lenders appoint a successor Agent as provided for hereinabove.