A corporation shall indemnify a director who was wholly successful, on the merits or otherwise, in the defense of any proceeding to which he or she was a party because he or she was a director of the corporation against reasonable expenses incurred by the director in connection with the proceeding.