**Exhibit 31.1**

**CERTIFICATION**

I,Gregg J. Wagner, President, Chief Executive Officer and Director, certify,that:

1.                 I have reviewedthis annual report on Form 10-K of Harleysville NationalCorporation.

2.                 Based on myknowledge, the annual report does not contain any untrue statement of amaterial fact or omit to state a material fact necessary to make the statementsmade, in light of the circumstances under which such statements were made, notmisleading with respect to the period covered by this annual report.

3.                 Based on myknowledge, the financial statements, and other financial information includedin this annual report, fairly present in all material respects the financialcondition, results of operations and cash flows of the registrant as of, andfor, the periods presented in this annual report.

4.                 The registrant’sother certifying officer and I are responsible for establishing and maintainingdisclosure controls and procedures (as defined in Exchange Act Rules 13a-15(e) and15d-15(e)) and internal control over financial reporting (as defined inExchange Act Rules 13a-15(f) and 15d-15(f)) for theregistrant and have:

(a)          Designed such disclosurecontrols and procedures, or caused such disclosure controls and procedures tobe designed under our supervision, to ensure that material information relatingto the registrant, including its consolidated subsidiaries, is made known to usby others within those entities, particularly during the period in which thisreport is being prepared;

(b)         Designed such internalcontrol over financial reporting, or caused such internal control overfinancial reporting to be designed under our supervision, to provide reasonableassurance regarding the reliability of financial reporting and the preparationof financial statements for external purposes in accordance with generallyaccepted accounting principles;

(c)          Evaluated theeffectiveness of the registrant’s disclosure controls and procedures andpresented in this report our conclusions about the effectiveness of thedisclosure controls and procedures, as of the end of the period covered by thisreport based on such evaluation; and

(d)         Disclosed in this reportany change in the registrant’s internal control over financial reporting thatoccurred during the registrant’s most recent fiscal quarter (the registrant’sfourth fiscal quarter in the case of an annual report) that has materiallyaffected, or is reasonable likely to materially affect, the registrant’sinternal control over financial reporting; and

5.                 The registrant’sother certifying officer and I have disclosed, based on our most recentevaluation of internal control over financial reporting, to the registrant’sauditors and the audit committee of the registrant’s board of directors (orpersons performing the equivalent functions):

(a)          All significantdeficiencies and material weaknesses in the design or operation of internalcontrol over financial reporting which are reasonably likely to adverselyaffect the registrant’s ability to record, process, summarize and report financialinformation; and

(b)         Anyfraud, whether or not material, that involves management or other employees whohave a significant role in the registrant’s internal control over financialreporting.

|        |                                               | Date: March 2, 2006 |
|--------|----------------------------------------------------|--------------------------|
| By:    | /s/ Gregg J.  Wagner                               |                     |
|   | *President, Chief  Executive Officer and Director* |                     |
|   | Harleysville National  Corporation                 |                     |

 

----