2.6. Indemnification.
(a) To the extent permitted by law, the Company shall indemnify the Investors, and, as applicable, their officers, directors, and constituent partners, legal counsel for each Investor and each Person controlling the Investors, with respect to which registration, related qualification, or related compliance of Registrable Securities has been effected pursuant to this Agreement, and each underwriter, if any, and each Person who controls any underwriter within the meaning of the Securities Act against all claims, losses, damages, or liabilities (or actions in respect thereof) to the extent such claims, losses, damages, or liabilities arise out of or are based upon (i) any untrue statement (or alleged untrue statement) of a material fact contained in any prospectus or other document (including any related Registration Statement) incident to any such registration, qualification, or compliance, or (ii) any omission (or alleged omission) to state therein a material fact required to be stated therein or necessary to make the statements therein not misleading (in light of the circumstances in which they were made), or (iii) any violation or alleged violation by the Company of the Securities Act, the Exchange Act, any state securities law, or any rule or regulation promulgated under the Securities Act, the Exchange Act or any state securities law applicable to the Company and relating to action or inaction required of the Company in connection with any such registration, qualification, or compliance; and the Company shall pay as incurred to the Investors, each such underwriter, and each Person who controls the Investors or underwriter, any legal and any other expenses reasonably incurred in connection with investigating or defending any such claim, loss, damage, liability, or action;provided,however, that the indemnity contained in thisSection 2.6(a) shall not apply to amounts paid in settlement of any such claim, loss, damage, liability, or action if settlement is effected without the prior written consent of the Company (which consent shall not unreasonably be withheld); and provided, further, that the Company shall not be liable in any such case to the extent that any such claim, loss, damage, liability, or expense arises out of or is based upon any violation by such Investor of the obligations set forth inSection 2.5 hereof or any untrue statement or omission contained in such prospectus or other document based upon written information furnished to the Company by the Investors, such underwriter, or such controlling Person and stated to be for use therein.
(b) To the extent permitted by law, each Investor (severally and not jointly) shall, if Registrable Securities held by such Investor are included for sale in the registration and related qualification and compliance effected pursuant to this Agreement, indemnify the Company, each of its directors, each officer of the Company who signs the applicable Registration Statement, each legal counsel and each underwriter of the Company’s securities covered by such a Registration Statement, each Person who controls the Company or such underwriter within the meaning of the Securities Act against all claims, losses, damages, and liabilities (or actions in respect thereof) arising out of or based upon (i) any untrue statement (or alleged untrue statement) of a material fact contained in any such Registration Statement, or related document, or (ii) any omission (or alleged omission) to state therein a material fact required to be stated therein or necessary to make the statements therein not misleading (in light of the circumstances in which they were made), or (iii) any violation or alleged violation by such Investor ofSection 2.5 hereof, the Securities Act, the Exchange Act, any state securities law, or any rule or regulation promulgated under the Securities Act, the Exchange Act or any state securities law applicable to such Investor and relating to action or inaction required of such Investor in connection with any such registration and related qualification and compliance, and shall pay as
8