Please wait

 

Exhibit 23.5

 

Consent of Independent Registered Public Accounting Firm

 

We consent to the incorporation by reference in this Amendment No. 1 to the Registration Statement on Form S-4 and related Prospectus of John Marshall Bancorp, Inc. and Joint Proxy Statement of John Marshall Bancorp, Inc. and Eagle Financial Services, Inc. of our reports dated March 16, 2026, relating to the consolidated financial statements and the effectiveness of internal control over financial reporting of Eagle Financial Services, Inc., appearing in the Annual Report on Form 10-K of Eagle Financial Services, Inc. for the year ended December 31, 2025.

 

We also consent to the reference to our firm under the heading "Experts" in such Amendment No. 1 to the Registration Statement and related Prospectus/Joint Proxy Statement.

 

/s/ Yount, Hyde & Barbour, P.C.

 

Winchester, Virginia

October 13, 2026