EXPERTS The consolidated financial statements of Mid Penn Bancorp, Inc. as of December 31, 2023 and 2022, and for each of the years in the three-year period ended December 31, 2023 and the effectiveness of internal control over financial reporting as of December 31, 2023, incorporated in this joint proxy statement/prospectus and in the related registration statement by reference from the Mid Penn Bancorp, Inc. Annual Report on Form 10-K for the year ended December 31, 2023, have been audited by RSM US LLP, an independent registered public accounting firm, as stated in their reports thereon, incorporated herein by reference, and have been incorporated in this joint proxy statement/prospectus and in the related registration statement in reliance upon such reports and upon the authority of such firm as experts in accounting and auditing. The consolidated financial statements of William Penn and its subsidiaries as of June 30, 2024 and 2023, and for each of the years in the two-year period ended June 30, 2024 incorporated by reference in this joint proxy statement/prospectus and in the related registration statement have been so included in reliance upon the report of S.R. Snodgrass, P.C., an independent registered public accounting firm, appearing elsewhere herein and in the related registration statement, given on the authority of said firm as experts in auditing and accounting. 127
RkJQdWJsaXNoZXIy NTYwMjI1