EX-23 4 ubcp-20231231xex23.htm EX-23

Exhibit 23

Consent of Independent Registered Public Accounting Firm

We consent to the incorporation by reference in the registration statements of United Bancorp, Inc. on Forms S-8 (file No. 33-123036 effective February 28, 2005) and S-3 (file Nos. 333-136708 effective August 17, 2006 and 333-225002 effective May 17, 2018) of our report dated March 20, 2024, on our audit of the consolidated financial statements of United Bancorp, Inc. as of December 31, 2023 and 2022 and for the years then ended, which report is included in this Annual Report on Form 10-K.

/s/ S. R. Snodgrass, P.C.

Cranberry, PA

March 20, 2024