The BORROWER hereby agrees to indemnify, defend, reimburse and hold harmless the BANK and each of its affiliates, and all the directors, officers, employees, agents, legal counsel and advisors of the BANK (each, an "INDEMNIFIED PARTY") from and against all claims, actions, proceedings, suits, damages, losses, liabilities, costs and expenses, including the fees and out-of-pocket expenses of one firm of counsel for all such INDEMNIFIED PARTIES, taken as a whole, and, if necessary, of a single firm of local counsel in each appropriate jurisdiction (which may include a single firm of special counsel acting in multiple jurisdictions) for all such INDEMNIFIED PARTIES, taken as a whole (and, in the case of an actual or perceived conflict of interest where the INDEMNIFIED PARTY affected by such conflict informs the BORROWER of such conflict and thereafter retains its own counsel, of another firm of counsel for such affected INDEMNIFIED PARTY and, if necessary, of a single firm of local counsel in each appropriate jurisdiction (which may include a single firm of special counsel acting in multiple jurisdictions) for such affected INDEMNIFIED PARTY), which may be incurred by or asserted against any INDEMNIFIED PARTY in connection with, or arising out of, or relating to any transaction or proposed transaction (whether or not consummated), contemplated by this AGREEMENT or any LOAN DOCUMENT (other than any TAXES); provided that such indemnity shall not, as to any INDEMNIFIED PARTY, be available to the extent that such claim, action, proceeding, suit, damage, loss, liability, cost or expense (a) is determined by a court of competent jurisdiction by final and nonappealable judgment to have resulted from (i) the gross negligence, bad faith or wilful misconduct of such INDEMNIFIED PARTY or (ii) a claim brought by the BORROWER against such INDEMNIFIED PARTY for material breach in bad faith of such INDEMNIFIED PARTY'S obligations hereunder or (b) results from a proceeding that does not involve an act by the BORROWER or any of its AFFILIATES and that is brought by an INDEMNIFIED PARTY against any other INDEMNIFIED PARTY. This SECTION 8.01 shall not apply with respect to taxes other than any taxes that represent losses, claims or damages arising from any non-tax claim.