A nonprofit corporation may provide in its certificate of incorporation or bylaws that the nonprofit corporation shall indemnify a director who was wholly successful, on the merits or otherwise, in the defense of any proceeding to which the director was a party because the director was a director of the nonprofit corporation against expenses incurred by the director in connection with the proceeding.
Ala. Code § 10A-3A-8.52 (1975)