EX-5.1 2 ny20024120x1_ex5-1.htm EXHIBIT 5.1

Exhibit 5.1
March 29, 2024
Board of Directors
Orrstown Financial Services, Inc.
77 East King Street
Shippensburg, PA 17257
Ladies and Gentlemen:
We are acting as counsel to Orrstown Financial Services, Inc., a Pennsylvania corporation (the “Company”), in connection with its registration statement on Form S-4 (the “Registration Statement”), filed with the Securities and Exchange Commission under the Securities Act of 1933, as amended (the “Act”), relating to the proposed offering of up to 8,579,078 shares of common stock, no par value per share of the Company (the “Shares”), in connection with the merger contemplated by the Agreement and Plan of Merger, dated as of December 12, 2023 (the “Merger Agreement”), by and between the Company and Codorus Valley Bancorp, Inc., a Pennsylvania corporation. This opinion letter is furnished to you at your request to enable you to fulfill the requirements of Item 601(b)(5) of Regulation S-K, 17 C.F.R.§ 229.601(b)(5), in connection with the Registration Statement.
For purposes of this opinion letter, we have examined copies of such agreements, instruments and documents as we have deemed an appropriate basis on which to render the opinion hereinafter expressed. In our examination of the aforesaid documents, we have assumed the genuineness of all signatures, the legal capacity of all natural persons, the accuracy and completeness of all documents submitted to us, the authenticity of all original documents, and the conformity to authentic original documents of all documents submitted to us as copies (including pdfs). As to all matters of fact, we have relied on the representations and statements of fact made in the documents so reviewed, and we have not independently established the facts so relied on. This opinion letter is given, and all statements herein are made, in the context of the foregoing.
This opinion letter is based as to matters of law solely on the applicable provisions of the Pennsylvania Business Corporation Law of 1988, as amended. We express no opinion herein as to any other statutes, rules or regulations.
Based upon, subject to and limited by the foregoing, we are of the opinion that following (i) effectiveness of the Registration Statement, (ii) effectiveness of the merger pursuant to the Merger Agreement and (iii) issuance of the Shares in accordance with the terms and conditions of the Merger Agreement, the Shares will be validly issued, fully paid and nonassessable.
4 201 E. PARK CI RCLE | HARRISBUR G, PA 17111 | 717 • 308 • 9910 | PILLARAUGHT.COM

This opinion letter has been prepared for use in connection with the Registration Statement. We assume no obligation to advise of any changes in the foregoing subsequent to the effective date of the Registration Statement.
We hereby consent to the filing of this opinion letter as Exhibit 5.1 to the Registration Statement and to the reference to this firm under the caption “Legal Matters” in the prospectus constituting a part of the Registration Statement. In giving this consent, we do not thereby admit that we are an “expert” within the meaning of the Act.

| Sincerely,
| /s/ Pillar Aught LLC
| PILLAR AUGHT LLC