EX-8.1 4 d791984dex81.htm EX-8.1

Exhibit 8.1

Direct Dial: 804.420.6000

March 28, 2024

National Bankshares, Inc.

101 Hubbard Street

Blacksburg, Virginia 24062

| Re: | Federal Income Tax Opinion Issued to National Bankshares, Inc. in Connection with the Merger of Frontier Community Bank with and into The National Bank of Blacksburg.

Ladies and Gentlemen:

We have acted as counsel to National Bankshares, Inc., a Virginia corporation (“Parent”), in connection with the proposed merger (the “Merger”) of Frontier Community Bank, a Virginia banking corporation (“FCB”), with and into The National Bank of Blacksburg, a national banking association and wholly-owned subsidiary of Parent (“NBB”), pursuant to the Agreement and Plan of Merger, dated as of January 23, 2024, between Parent, NBB, and FCB (the “Merger Agreement”). At your request, and in connection with the filing by Parent of a Registration Statement on Form S-4 (as amended or supplemented through the date hereof, the “Registration Statement”), including the Proxy Statement/Prospectus contained therein, with the Securities and Exchange Commission (the “Commission”), we are rendering our opinion concerning certain United States federal income tax consequences of the Merger. Any capitalized term used and not defined herein has the meaning given to it in the Merger Agreement.

FACTS:

In connection with the opinion rendered below, we have reviewed and relied upon (i) the Merger Agreement; (ii) the Proxy Statement/Prospectus contained in the Registration Statement; and (iii) such other documents as we have deemed necessary or appropriate for purposes of this opinion letter (the documents referred to in clauses (i), (ii), and (iii) hereof are referred to, collectively, as the “Merger Documents”). With respect to various factual matters material to our opinion, we have relied upon the representations set forth in the Merger Documents and in certificates of each of Parent and FCB (the “Certificates”). We have assumed the correctness of the factual matters contained in the Merger Documents and the Certificates and have made no independent investigation for the purpose of confirming that such matters are correct.

We have assumed that: (i) all signatures on all documents submitted to us are genuine, all documents submitted to us as originals are authentic, all documents submitted to us as copies conform to the originals thereof, all information submitted to us is accurate and complete, and all persons executing and delivering originals or copies of documents examined by us are competent to

National Bankshares, Inc.

March 28, 2024

Page 2

execute and deliver such documents; (ii) the Merger and the other transactions specified in the Merger Agreement will be consummated as contemplated in the Merger Agreement, without waiver of any material provision thereof; (iii) the Merger will be reported by Parent and FCB on their respective income tax returns in a manner consistent with the opinion set forth below; and (iv) the Certificates are true and accurate in all material respects as of the Effective Time of the Merger. If any of such assumptions is untrue for any reason, or if the Merger and the other transactions specified in the Merger Agreement are not consummated in accordance with the provisions of the Merger Agreement and as described in the Registration Statement, our opinion set forth below may be adversely affected and may not be relied on.

OPINION:

Based solely upon the documents and assumptions set forth above and conditioned upon the initial and continuing accuracy of the factual representations set forth in the Certificates as of the date hereof and as of the Effective Time of the Merger, and subject to the assumptions, limitations and qualifications set forth herein and in the Registration Statement, the discussion contained in the Registration Statement under the caption “Material U.S. Federal Income Tax Consequences,” insofar as it presents legal conclusions with respect to matters of United States federal income tax law, accurately sets forth the material United States federal income tax consequences of the Merger, and constitutes the opinion of Williams Mullen.

In rendering our opinion, we have considered the applicable provisions of the Internal Revenue Code of 1986 and its legislative history, the Treasury Regulations promulgated thereunder, judicial decisions, and current administrative rulings and practices of the Internal Revenue Service, all as in effect on the date of this letter. These authorities may be amended or revoked at any time with or without retroactive effect, and we can provide no assurance as to the effect that any such change may have on the opinion that we have expressed above. We assume no obligation to update or modify this letter to reflect any changes in law or regulation or other developments that may occur after the date of this letter. Our opinion is limited to the matters expressly stated herein; no further opinion is implied or may be inferred.

An opinion of counsel is not binding upon the Internal Revenue Service or the courts. There can be no assurance that the Internal Revenue Service will agree with the opinion set forth herein or that, if challenged by the Internal Revenue Service, such opinion will be sustained by a court. No ruling has been or will be sought from the Internal Revenue Service as to the federal tax consequences of the Merger.

National Bankshares, Inc.

March 28, 2024

Page 3

We are furnishing this opinion letter in connection with the filing of the Registration Statement, and this opinion letter may not otherwise be distributed to any other person, filed with any other government agency or quoted in any other document without our prior written consent. This opinion letter may be filed as an exhibit to the Registration Statement, and we consent to the reference to our firm under the captions “Material U.S. Federal Income Tax Consequences” and “Legal Matters” in the Registration Statement. In giving this consent, we do not thereby admit that we are within the category of persons whose consent is required under Section 7 of the Securities Act of 1933, as amended, or the rules and regulations of the Commission promulgated thereunder.

/s/ WILLIAMS MULLEN