Indemnification of Agents Whether or not the transactions contemplated hereby are consummated, the Lenders shall indemnify upon demand each Agent-Related Person (to the extent not reimbursed by or on behalf of any Loan Party and without limiting the obligation of any Loan Party to do so), pro rata, and hold harmless each Agent-Related Person from and against any and all Indemnified Liabilities incurred by it; provided that no Lender shall be liable for the payment to any Agent-Related Person of any portion of such Indemnified Liabilities resulting from such Agent-Related Person’s own gross negligence or willful misconduct, as determined by the final judgment of a court of competent jurisdiction; provided that no action taken in accordance with the directions of the Required Lenders (or such other number or percentage of the Lenders as shall be required by the Loan Documents) shall be deemed to constitute gross negligence or willful misconduct for purposes of this Section 9.07. In the case of any investigation, litigation or proceeding giving rise to any Indemnified Liabilities, this Section 9.07 applies whether any such investigation, litigation or proceeding is brought by any Lender or any other Person. Without limitation of the foregoing, each Lender shall reimburse the Administrative Agent upon demand for its ratable share of any costs or out-of-pocket expenses (including Attorney Costs) incurred by the Administrative Agent in connection with the preparation, execution, delivery, administration, modification, amendment or enforcement (whether through negotiations, legal proceedings or otherwise) of, or legal advice in respect of rights or responsibilities under, this Agreement, any other Loan Document, or any document contemplated by or referred to herein, to the extent that the Administrative Agent is not reimbursed for such expenses by or on behalf of the Borrower, provided that such reimbursement by the Lenders shall not affect the Borrower’s continuing reimbursement obligations with respect thereto. The undertaking in this Section 9.07 shall survive termination of the Aggregate Commitments, the payment of all other Obligations and the resignation of the Administrative Agent.