Document:

CONFIDENTIAL TREATMENT REQUESTED

 

Exhibit 10.24

  

PeoplesBank, A Codorus Valley Company 

Executive
Incentive Plan 

January,
2018

 

	 	Approved by 
	 	Board of Directors:
	 	 
	 	Approved by 
	 	Compensation Committee: 
	 	 
	CONFIDENTIAL TREATMENT REQUESTED

 

 

    

     

    

 

CONFIDENTIAL TREATMENT REQUESTED

 

PeoplesBank, A Codorus Valley Company 

Executive Incentive
Plan 

 

 

I.              Introduction 

The success of both PeoplesBank and Codorus Valley Bancorp, Inc.
(“the Company”) is dependent upon the Company’s ability to meet and exceed financial and strategic objectives,
increase the value of the franchise and operate in the best long-term interests of the shareholders. This success is dependent
upon the contributions of each individual executive which collectively impact the Company’s performance and results.

 

PeoplesBank intends to provide executives with a structured incentive
compensation opportunity in order to recognize the contribution that each makes to the overall performance of the organization.
The purpose of this incentive plan is to motivate, reward and reinforce performance and achievement of corporate goals and individual
performance/contributions in support of the Company’s strategic objective for growth and profitability.

 

While risk is an inherent aspect of business, this compensation
plan is designed to reward executives for certain levels of performance without encouraging undue risk-taking which could materially
threaten the safety and soundness of the Company or business unit.

 

This Executive Incentive Plan (“the Plan”) has been
developed as a meaningful compensation tool to encourage and reward participants for the part that they play in the overall success
of the Company. The Plan is designed to:

 

		●	provide
a form of results-oriented variable compensation which is directly linked to overall Company performance, and,

		●	provide
for recognition of individual contribution to the Company’s performance

 

II.            Plan
Year 

The plan year for this program will be the calendar year, January
1 – December 31. The Plan will pay out annually based on achievement of established goals and performance measures. The performance
measures for the Plan will be determined, calculated and approved annually.

 

	January 2018	CONFIDENTIAL TREATMENT REQUESTED	Page 2

 

    

     

    

 

CONFIDENTIAL TREATMENT REQUESTED

 

PeoplesBank, A Codorus Valley Company 

Executive Incentive
Plan 

 

 

III.           Eligibility
for Participation 

All PeoplesBank executives who meet the criteria below will be
eligible to participate in the Executive Incentive Plan. A listing of participant categories by grouping appears in Exhibit A.

 

Eligibility for incentive payout will be determined by the participant’s
most recent performance rating. To be eligible, individuals must have a minimally satisfactory rating and not be on probation and/or
written warning during the plan year or at the time of award payment. Newly hired executives will be eligible for participation
in the Plan providing they started employment prior to October 1 of the plan year. Payout for current year hires will be pro-rated
based on their actual pay during the plan year. If the individual started employment after October 1, the executive will be eligible
for the next plan year.

 

A participant’s eligibility ceases at termination of employment
(except in the case of retirement, death or disability) and the participant will not receive any awards under the Plan beyond those
already received. To be eligible for an award, an employee must be employed as of the payout date.

 

IV.           Incentive
Opportunities 

Each participant will have a target incentive opportunity based
on his/her role and competitive market practice. Incentive opportunities will be defined as a percentage of base pay. Base pay
is actual base salary earned as of December 31 of the plan year. See Exhibit A for targets by participant categories.

 

V.            Payout
Range 

Actual awards will pay out at a reduced level (i.e.50% of target)
for threshold performance, at 100% for target performance and at higher level (i.e.150% of target) for stretch/maximum or above
performance. Performance below threshold will be zero.

 

VI.           Performance
Goals 

Each participant will have defined
performance goals. The goals and weights are determined at the beginning of each plan year and may change from year to year.
The goals are established by the Compensation Committee and Executive Management in conjunction with the annual budget process.
Company goals are selected to be aligned with business/strategic plan and reflect annual financial measures such as net income,
return on assets, return on equity, earnings per share, balance sheet growth or similar indicators. Personal goals generally reflect
each participant’s unique role and responsibilities and may include Action Plan objectives as deemed appropriate. Threshold,
target, and maximum goals will be defined for quantifiable goals.

 

	January 2018	CONFIDENTIAL TREATMENT REQUESTED	Page 3

 

    

     

    

 

CONFIDENTIAL TREATMENT REQUESTED

 

PeoplesBank, A Codorus Valley Company 

Executive Incentive
Plan 

 

 

The performance goals for the plan year are found in Exhibit
B. Individual participant performance measures will be documented in the format that is specific, measurable, time bound, and directly
tied to the budget and or action plan item for the calendar year.

 

VII.         Award
Calculation and Distribution 

Payout amounts are calculated according to the level of overall
performance achievement as compared to goals as explained in Exhibit B. Payout for performance between the threshold and target
and target and maximum is interpolated.

 

Incentive payouts will be approved by the Compensation Committee.
Final incentive payouts can be adjusted downward based on an assessment of risk by the Compensation Committee.

 

Actual individual payouts are then distributed to eligible participants
based on payout percentage of base pay (defined as actual base salary earned as of December 31 of the plan year) for the year.

 

Payment will be made following the release of the prior year
financials by the external auditors. This will occur no later than March 15 of the following year. The Company will deduct from
all payments under this plan any federal, state or local taxes required by law to be withheld from such payments. Any participant
terminating employment (except retirement, death, or disability) prior to actual payment of award will forfeit that award.

 

VIII.        Administration

 

Effective Date 

This Plan is effective January 1, 2018 for the performance period
of January 1, 2018 to December 31, 2018. The Plan will be reviewed annually by the Compensation Committee to ensure proper alignment
with the Company’s objectives. The Company’s Compensation Committee retains the right as described below to amend,
modify or discontinue the Plan at any time during the specified period. The Plan will remain in effect until earned incentive compensation
is paid to participants.

 

	January 2018	CONFIDENTIAL TREATMENT REQUESTED	Page 4

 

    

     

    

 

CONFIDENTIAL TREATMENT REQUESTED

 

PeoplesBank, A Codorus Valley Company 

Executive Incentive
Plan 

 

 

Plan Authorization and Oversight 

This Plan is authorized by the Board of Directors. The Compensation
Committee has the sole authority to interpret the Plan and to make or nullify any rules and procedures, as necessary, for proper
administration. Any determination by the Committee and/or Board of Directors will be final and binding. The Compensation Committee
may, in its sole discretion, terminate or modify any aspect of the Plan. However, no Plan amendment or termination will adversely
affect an outstanding award.

 

The Compensation Committee shall have full power and authority
to construe, interpret, manage and control this plan. The plan administrator shall be designated at the discretion of the Compensation
Committee. The Compensation Committee may also terminate, modify, or amend this plan. Amendments can include adjustments to award
calculations for any significant extraordinary financial items occurring in any given time period.

 

Any decisions made or action taken by the Committee arising out
of, or in connection with, the administration, interpretation and effect of the Plan shall be at their absolute discretion and
will be conclusive and binding on all parties. The Company reserves the right to amend, suspend, reinstate or terminate all or
any part of the Plan at any time.

 

The Company will give prompt written notice to each participant
of any amendment, suspension, termination or any material modification of the Plan. The Compensation Committee also reserves the
right to withhold or amend award payments based on performance or circumstances deemed highly unusual.

 

Risk Assessment 

At least annually, the Director of Human Resources and Chief
Risk Officer (who has responsibility for risk assessment) will review this plan and provide a report including a detailed assessment
regarding any risk issues inherent in the Plan. This risk report and the plan document in full will be reviewed by the Compensation
Committee of the Board of Directors to ensure that the plan design is consistent with the compensation philosophy of the Company
and that the Plan does not motivate undue risk taking. The annual review will also include the market competitiveness of the Plan,
the plan’s alignment with the Company’s strategic plan, an assessment of how the Plan meets the objectives in the Introduction
of this document, plus the Plan’s impact on the overall safety and soundness of the Company. The Committee will then provide
a report and recommendations to the full Board of Directors who are responsible to approve the Plan.

 

	January 2018	CONFIDENTIAL TREATMENT REQUESTED	Page 5

 

    

     

    

 

CONFIDENTIAL TREATMENT REQUESTED

 

PeoplesBank, A Codorus Valley Company 

Executive Incentive
Plan 

 

 

Leave of Absence 

Employees on a leave of absence (including FMLA, Long Term Disability,
Short Term Disability, etc.) will be eligible; however, their distribution will be pro-rated based upon the number of full months
of work completed during the plan year under consideration.

 

Termination of Employment 

If a participant is terminated by the Company or resigns, no
incentive award will be distributed except death, disability or retirement.

 

If a participant ceases to be employed by the Company due to
death, disability or retirement, his/her incentive award distribution for the Plan year will be pro-rated based on the number of
full months of work completed during the plan year under consideration.

 

Miscellaneous 

The Plan does not constitute a contract of employment, and participation
in the Plan does not give any employee the right to be retained in the service of the Company or any right or claim to an award
under the Plan unless specifically accrued under the terms of this plan. Designation as a plan participant conveys the opportunity,
but not the right, to any awards conferred under the Plan.

 

Any right of a participant or his or her beneficiary to the payment
of an award under this plan may not be assigned, transferred, pledged or encumbered.

 

	January 2018	CONFIDENTIAL TREATMENT REQUESTED	Page 6

 

    

     

    

 

CONFIDENTIAL TREATMENT REQUESTED

 

PeoplesBank, A Codorus Valley Company 

Executive Incentive
Plan 

 

 

IX.           Governing
Law 

Except as preempted under federal
law, the provisions of the Plan shall be construed, administered and enforced in accordance with the domestic internal law of the
Commonwealth of Pennsylvania.

 

X.            Plan
Approval 

This plan has been approved by the Board of Directors of Codorus
Valley Bancorp, Inc. on

  

	 	 
		 	 
	By		 
	 	Board of Directors	 
	 	Codorus Valley Bancorp, Inc.	 
	 	 	 
	 	 	 
	 	Compensation Committee	 
	 	Codorus Valley Bancorp, Inc.	 

  

	January 2018	CONFIDENTIAL TREATMENT REQUESTED	Page 7

 

    

     

    

 

CONFIDENTIAL TREATMENT REQUESTED

 

PeoplesBank, A Codorus Valley Company 

Executive Incentive
Plan 

 

 Exhibit A

 

Executive Incentive Plan 

Participants and Incentive Opportunities 

 

	Category	Participants	Incentive Opportunities
	
        Threshold 

        (50% of Target) 
	
        Target 

        (100% of Target) 
	
        Maximum 

        (150% of Target)

	1	Executive Chair	12.5%	25%	37.5%
	 	President & CEO
	2	Chief Information Officer	10%	20%	30%
	Chief Counsel
	Chief Financial Officer
	Chief Lending Officer
	Chief Administrative Officer
	SVP – Retail Sales & Service
	SVP – Wealth Management
	Chief Risk Officer
	 
	3	SVP, General Services	7.5%	15%	22.5%
	 	VP, Marketing
	 	Chief Credit Officer

 

	January 2018	CONFIDENTIAL TREATMENT REQUESTED	Page 8

 

    

     

    

 

CONFIDENTIAL TREATMENT REQUESTED

 

PeoplesBank, A Codorus Valley Company 

Executive Incentive
Plan 

 

 

Exhibit B 

Performance Goals - Plan Year 2018

 

	        	                   	      	                 
	 	 	 	         	      	       
	Corporate	NI	*	$[redacted]**	$[redacted]**	$[redacted]**
	 	ROE	*	[redacted]**%	[redacted]**%	[redacted]**%
	 	Efficiency Ratio	*	[redacted]**%	[redacted]**%	[redacted]**%
	Individual	Individual Performance	*	TBD
	Total	 	100%	 	 	 

*Assigned per below 

**Portions of this exhibit have been redacted and
are subject to a confidential treatment request filed with the Secretary of the Securities and Exchange Commission pursuant to
Rule 24b-2 under the Securities Exchange Act of 1934. The redacted material has been filed separately under the request for confidential
treatment.

 

 

	2018 Performance Measure Weightings	 	 	 	 	 	 
	 	 	 	 	 	 	 
	Position	 	Performance Measure	 	2017 

Weight	 	2018 

Weight
	 	 	 	 	 	 	 
	Executive Chair	 	Net Income	 	50%	 	50%
	(Miller)	 	ROE	 	15%	 	15%
	 	 	Efficiency Ratio	 	20%	 	20%
	 	 	Personal	 	15%	 	15%
	 	 		 	100%	 	100%
	 	 	 	 	 	 	 
	President & CEO	 	Net Income	 	50%	 	50%
	 	 	ROE	 	15%	 	15%
	 	 	Efficiency Ratio	 	20%	 	20%
	 	 	Personal	 	15%	 	15%
	 	 		 	100%	 	100%
	 	 	 	 	 	 	 
	Chief Financial Officer	 	Net Income	 	50%	 	50%
	(Field)	 	ROE	 	15%	 	15%
	 	 	Efficiency Ratio	 	20%	 	20%
	 	 	Personal	 	15%	 	15%
	 	 		 	100%	 	100%
	 	 	 	 	 	 	 
	Chief Administrative Officer	 	Net Income	 	50%	 	50%
	(Clemens)	 	ROE	 	15%	 	15%
	 	 	Efficiency Ratio	 	20%	 	20%
	 	 	Personal	 	15%	 	15%
	 	 	 	 	100%	 	100%

 

	January 2018	CONFIDENTIAL TREATMENT REQUESTED	Page 9

 

    

     

    

 

CONFIDENTIAL TREATMENT REQUESTED

 

PeoplesBank, A Codorus Valley Company 

Executive Incentive
Plan 

 

 

	Chief Risk Officer	 	Net Income	 	50%	 	50%
	(Baker)	 	ROE	 	15%	 	15%
	 	 	Efficiency Ratio	 	20%	 	20%
	 	 	Personal	 	15%	 	15%
	 	 		 	100%	 	100%
	 	 	 	 	 	 	 
	Chief Counsel	 	Net Income	 	50%	 	50%
	(Nieman)	 	ROE	 	15%	 	15%
	 	 	Efficiency Ratio	 	20%	 	20%
	 	 	Personal	 	15%	 	15%
	 	 		 	100%	 	100%
	 	 	 	 	 	 	 
	Chief Information Officer	 	Net Income	 	50%	 	50%
	(Campagna)	 	ROE	 	15%	 	15%
	 	 	Efficiency Ratio	 	20%	 	20%
	 	 	Personal	 	15%	 	15%
	 	 		 	100%	 	100%
	 	 	 	 	 	 	 
	Chief Credit Officer	 	Net Income	 	50%	 	50%
	(S. Miller)	 	ROE	 	15%	 	15%
	 	 	Efficiency Ratio	 	20%	 	20%
	 	 	Personal	 	15%	 	15%
	 	 		 	100%	 	100%
	 	 	 	 	 	 	 
	VP - Marketing	 	Net Income	 	50%	 	50%
	(TBD)	 	ROE	 	15%	 	15%
	 	 	Efficiency Ratio	 	20%	 	20%
	 	 	Personal	 	15%	 	15%
	 	 		 	100%	 	100%
	 	 	 	 	 	 	 
	SVP - General Services	 	Net Income	 	50%	 	50%
	(Tyson)	 	ROE	 	15%	 	15%
	 	 	Efficiency Ratio	 	20%	 	20%
	 	 	Personal	 	15%	 	15%
	 	 	 	 	100%	 	100%

 

	January 2018	CONFIDENTIAL TREATMENT REQUESTED	Page 10

 

    

     

    

 

CONFIDENTIAL TREATMENT REQUESTED

 

PeoplesBank, A Codorus Valley Company 

Executive Incentive
Plan 

 

 

	Chief Lending Officer	 	Net Income	 	50%	 	50%
	(Doll)	 	ROE	 	15%	 	15%
	 	 	Efficiency Ratio	 	10%	 	10%
	 	 	Personal	 	25%	 	25%
	 	 		 	100%	 	100%
	 	 	 	 	 	 	 
	SVP Retail Sales & Service	 	Net Income	 	50%	 	50%
	(Crenshaw)	 	ROE	 	15%	 	15%
	 	 	Efficiency Ratio	 	10%	 	10%
	 	 	Personal	 	25%	 	25%
	 	 		 	100%	 	100%
	 	 	 	 	 	 	 
	SVP - Wealth Management	 	Net Income	 	50%	 	50%
	(Altland)	 	ROE	 	15%	 	15%
	 	 	Efficiency Ratio	 	10%	 	10%
	 	 	Personal	 	25%	 	25%
	 	 		 	100%	 	100%

  

Parameters for 2018 

		1.	Base pay is defined as actual base salary earned as of
December 31 of plan year.

		2.	Generally, Company performance factor(s) must meet or
exceed threshold to initiate an award in the Plan. Each performance factor is assessed independently from the other performance
factors.

		3.	Awards for performance above threshold but between defined
points (threshold, target, maximum) will be interpolated.

		4.	Performance above maximum level will be paid at maximum
award level.

		5.	The Compensation Committee has the discretion to adjust
incentive payments down by as much as 100% if it is determined that excessive risk has been taken. This can be done on an individual
or overall basis, as appropriate.

		6.	Net income is defined as net income after all expenses
including the dividend paid on the preferred shares and the expense of the awards under this plan.

		7.	Return on Equity is the amount of Net Income available
to common shareholders as a percentage of average common shareholders’ equity.

		8.	Efficiency Ratio is the amount of the Bank’s total
noninterest expenses (“overhead”) as a percentage of total revenues. The determination of total revenues excludes
the impact of ALLL provision and gain on sales of investment securities

 

	January 2018	CONFIDENTIAL TREATMENT REQUESTED	Page 11Exhibit 10.35

 

 

CHANGE OF CONTROL AGREEMENT

 

AGREEMENT made
as of February 5, 2018, by and among CODORUS VALLEY BANCORP, INC., a Pennsylvania business corporation (hereinafter referred
to as the “Corporation“), PEOPLESBANK, a Codorus Valley Company, a Pennsylvania state chartered bank (hereinafter
referred to as the “Bank”) and TIMOTHY J. NIEMAN, an adult individual (hereinafter referred to as “Executive“).

 

W I T N E S S E T H:

 

WHEREAS, Executive
is now serving as General Counsel of the Bank, a wholly-owned subsidiary of the Corporation; and

 

WHEREAS, the
Corporation and the Bank consider the continued services of Executive to be in the best interests of the Corporation and the Bank;
and

 

WHEREAS, the
Corporation, the Bank and Executive desire to enter into this Agreement whereby the Bank agrees to make certain payments to Executive
upon termination under specific conditions, in order to induce Executive to continue in employment.

 

NOW, THEREFORE,
in consideration of the continued employment of Executive and other good and valuable consideration, the receipt and sufficiency
of which is hereby acknowledged, intending to be legally bound hereby, Executive, the Corporation and the Bank agree as follows:

 

ARTICLE I

 

TERMINATION PURSUANT TO A CHANGE OF CONTROL

 

1.1       Definition:
Termination Pursuant to a Change of Control. Any of the following events occurring during the period commencing with the
date of any “Change of Control“ (as defined in ARTICLE II hereof) and ending on the second (2nd) anniversary
date of the Change of Control, shall constitute a “Termination Pursuant to a Change of Control:“

 

(A)       Executive’s
employment is terminated by the Corporation, the Bank or an acquiror or successor of either without “Good Cause“ (as
defined below); or

 

(B)       Any
of the following events occurs and Executive thereafter terminates Executive’s employment:

 

(i)         any
reduction in Executive’s responsibilities, including reporting responsibilities, or authority, including such responsibilities
or authorities as may be increased from time to time; or

 

    

     

    

 

(ii)        any
reassignment of Executive to a principal place of employment which is more than twenty-five (25) miles from Executive’s principal
place of employment immediately prior to the Change of Control; or

 

(iii)       any
material reduction in Executive’s annual base salary as the same may be increased from time to time; or

 

(iv)       any
failure to provide Executive with benefits at least as favorable as those enjoyed by Executive under Corporation’s or Bank’s retirement
or pension, life insurance, medical, health and accident, disability or other employee or incentive compensation plans in which
Executive participated or the taking of any action that would materially reduce any of such benefits, unless such reduction is
part of a reduction applicable in each case to all employees; or

 

(v)        any
other action or inaction that constitutes a material breach of this Agreement by the Corporation or the Bank;

 

provided, however, that
the Executive must furnish notice of his intention to terminate his employment due to the existence of one or more of the above-delineated
conditions within ninety (90) days of the initial existence of such conditions, after which time the Bank shall have thirty (30)
days to remedy such condition. The Executive shall not be required to maintain his employment with the Bank during such thirty
(30) day period; however, should the Bank remedy the condition giving rise to the right of termination hereunder within such time
period, the Executive shall not be entitled to payment hereunder.

 

For purposes of this
Section 1.1(A), “Good Cause“ shall mean: (i) the willful failure by the Executive to substantially perform his duties
as an officer of the Corporation or Bank after Executive’s receipt of written notice from the Bank of such failure, other than
a failure resulting from the Executive’s incapacity because of physical or mental illness or (ii) the willful engaging by the Executive
in misconduct injurious to the Corporation or Bank or (iii) the dishonesty or gross negligence of the Executive in the performance
of his duties or (iv) the breach of Executive’s fiduciary duty involving personal profit or (v) the violation of any law, rule
or regulation governing banks or bank officers or any final cease and desist order issued by a bank regulatory authority, any of
which materially jeopardizes the business of the Corporation or Bank or (vi) moral turpitude or other conduct on the part of the
Executive which brings public discredit to the Corporation or Bank. The burden of establishing the validity of any termination
for Good Cause shall rest upon the Corporation or the Bank.

 

    2 

     

    

 

1.2       Compensation
Upon Termination Pursuant to a Change of Control. If Executive’s employment is terminated and such termination is a Termination
Pursuant to a Change of Control (as defined in Section 1.1), the Bank (or any acquiror or successor thereto) shall provide (or
cause to be provided) the following to Executive:

 

(A)       The
Bank shall pay Executive within ten (10) days following the Termination Pursuant to the Change of Control a lump sum payment in
an amount equal to one (1) times: (i) the highest of Executive’s annualized base salary at the time of or during one of
the three calendar years immediately preceding the Termination Pursuant to a Change of Control plus (ii) the highest bonus earned
by Executive with respect to one of the three calendar years immediately preceding the date of the Termination Pursuant to a Change
of Control; and

 

(B) For a period of one (1) year, commencing as of the Termination Pursuant to the Change of Control, the
Bank also shall maintain in full force and effect, for the continued benefit of the Executive, all employee benefit plans
and programs to which the Executive was entitled prior to the date of termination, if the Executive’s continued participation
is possible under the general terms and provisions of such plans, and programs, except that if the Executive’s participation
in any health, medical, life insurance, or disability plan or program is barred, the Bank shall obtain and pay for, on the Executive’s
behalf, individual insurance plans, policies or programs which provide to the Executive health, medical, life and disability insurance
coverage which is substantially equivalent to the insurance coverage to which Executive was entitled prior to the date of termination.

 

1.3       Other
Benefits. The payments provided by this ARTICLE I shall not affect Executive’s rights to receive any payments or benefits
to which Executive may be or become entitled under any other existing or future agreement or arrangement of the Corporation, the
Bank or any successor of either with the Executive, or under any existing or future benefit plan or arrangement of the Corporation,
the Bank or any successor in which Executive is or becomes a participant, or under which Executive has or obtains rights, including
without limitation, any qualified or nonqualified deferred compensation or retirement plans or programs or any outstanding stock
options or similar agreements. Any such rights of Executive shall be determined in accordance with the terms and conditions of
the applicable agreement, arrangement or plan and applicable law, provided, however, that Executive shall not be
entitled to any severance payments in addition to those provided hereunder.

 

1.4       Withholding
for Taxes. All payments required to be made under this Agreement will be made in accordance with the Bank’s or other payor’s
normal payroll and will be subject to withholding of such amounts relating to tax and/or other payroll deductions as may be required
by law.

 

1.5       Excess
Parachute Payment Limitation. Notwithstanding any other provision of this Agreement, if the sum of the payments to the
Executive described in this Agreement and in any other agreement, program, or plan between the Executive and the Corporation or
the Bank (or an affiliate of the Bank) attributable to the same Change in Control constitute “excess parachute payments“
(as defined in Section 280G(b)(1) of the Internal Revenue Code of 1986, as amended (“Code“), the Bank shall reduce the
amounts otherwise payable to the Executive under this Agreement so that the Executive’s total “parachute payment“ (as
defined in Code Section 280G(b)(2)(A)) under this Agreement and any other agreements, programs or plans shall be One Dollar ($1.00)
less than the amount that would be an “excess parachute payment.“

 

    3 

     

    

 

ARTICLE II

 

DEFINITION OF CHANGE OF CONTROL

 

2.1       Change
of Control. For purposes of this Agreement, the term “Change of Control“ shall mean: a Change in the Ownership
of the Corporation or the Bank (as defined below), a Change in the Effective Control of the Corporation or the Bank (as defined
below), or a Change in the Ownership of a Substantial Portion of the Assets of the Corporation or the Bank (as defined below):

 

(A)     Change in the Ownership
of the Corporation or the Bank. A Change in the Ownership of the Corporation or the Bank occurs on the date that any one person,
or more than one person acting as a group (as defined below), acquires ownership of stock of the Corporation or the Bank that,
together with stock held by such person or group, constitutes more than fifty percent (50%) of the total fair market value
or total voting power of the stock of the Corporation or the Bank, the acquisition of additional stock by the same person or
persons is not considered to cause a Change in Ownership of the Corporation or the Bank. An increase in the percentage of stock
owned by any one person or persons acting as a group, as a result of a transaction in which the Corporation or Bank acquires its
stock in exchange for property will be treated as an acquisition of stock for these purposes. A change in ownership of the Corporation
or the Bank only occurs when there is a transfer or issuance of stock of the Corporation or the Bank and the stock remains outstanding
after the transaction.

 

(B)       Change
in Effective Control of the Corporation or the Bank. A Change in Effective Control of the Corporation or the Bank occurs only
on the date that either:

 

(i)         Any
one person, or more than one person acting as a group (as defined below), acquires (or has acquired during the 12 month period
ending on the date of the most recent acquisition by such person or persons) ownership of stock of the Corporation or the Bank
possessing thirty-five percent (35%) or more of the total voting power of the stock of the Corporation or the Bank; or

 

(ii)        A
majority of members of the Corporation’s Board of Directors is replaced during any 12 month period by directors whose appointment
or election is not endorsed by a majority of the members of the Corporation’s Board of Directors prior to the date of the appointment
or election.

 

    4 

     

    

 

If any one person,
or more than one person acting as a group, is considered to effectively control the Corporation or the Bank, the acquisition of
additional control of the Corporation or the Bank by the same person or persons is not considered to cause a Change in the Effective
Control of the Corporation or the Bank.

 

(C)      Change in Ownership
of a Substantial Portion of the Corporation’s or the Bank’s Assets. A Change in Ownership of a Substantial Portion of the Corporation’s
or the Bank’s Assets occurs on the date that any one person, or more than one person acting as a group (as defined below), acquires
(or has acquired during the 12 month period ending on the date of the most recent acquisition by such person or persons) assets
from the Corporation or the Bank that have a total gross fair market value equal to or more than forty percent (40%) of the
total gross fair market value of all of the assets of the Corporation or the Bank immediately prior to such acquisition or acquisitions.
For this purpose, gross fair market value means the value of assets of the Corporation or the Bank, or the value of the assets
being disposed of, determined without regard to any liabilities associated with such assets.

 

There is no
Change of Control under this Paragraph 2.1(C) if there is a transfer of assets to an entity that is:

 

(i)         A
shareholder of the Corporation or the Bank (immediately before the asset transfer) in exchange for or with respect to its stock;

 

(ii)         An
entity, fifty percent (50%) or more of the total value or voting power of which is owned, directly or indirectly, by the Corporation
or the Bank;

 

(iii)       A
person, or more than one person acting as a group, that owns, directly or indirectly, fifty percent (50%) or more of the total
value or voting power of all the outstanding stock of the Corporation or the Bank; or

 

(iv)       An
entity, at least fifty percent (50%) of the total value or voting power of which is owned, directly or indirectly, by a person
described in (i), (ii) or (iii) above.

 

(D)       For
purposes of this Paragraph 2.1, persons will not be considered to be acting as a group solely because they purchase or own stock
or purchase assets of the Corporation or the Bank at the same time. However, persons will be considered to be acting as a group
if they are owners of a corporation that enters into a merger, consolidation, purchase or acquisition of assets, or similar transaction,
such shareholder is considered to be acting as a group with other shareholders in a corporation only to the extent of the ownership
in the corporation prior to the transaction giving rise to the change and not with respect to the ownership interest in the other
corporation.

 

    5 

     

    

 

2.2       Notwithstanding
anything else to the contrary set forth in this Agreement, if: (i) an agreement is executed by the Corporation or the Bank providing
for any of the transactions or events constituting a Change of Control pursuant to this ARTICLE II or an announcement concerning
a tender offer or exchange offer is made constituting a Change of Control pursuant to this ARTICLE II, and the agreement, tender
offer or exchange offer subsequently expires or is terminated without the transaction or event being consummated and (ii) a “Termination
Pursuant to a Change of Control“ (as defined in ARTICLE I hereof) has not occurred prior to such expiration or termination,
then for purposes of this Agreement (including, without limitation, ARTICLE I hereof) it shall be as though such agreement was
never executed or such tender offer or exchange offer was never announced and no Change of Control event shall be deemed to have
occurred as a result.

 

2.3       The
expiration of the two year period after any Change of Control event without the occurrence of a Termination Pursuant to a Change
of Control shall not have any effect on this Agreement, which shall remain in full force and effect until its termination by written
agreement of the parties or the earlier termination of Executive’s employment under circumstances not constituting a Termination
Pursuant to a Change of Control.

 

ARTICLE III

 

409A SAFE HARBOR

 

3.1       General.
It is intended that this Agreement shall comply with the provisions of section 409A of the Code and the Department of the Treasury
(the “Department“) Regulations relating thereto, or an exemption to section 409A of the Code. Any payments that qualify
for the “short-term deferral“ exception or another exception under section 409A of the Code shall be paid under the applicable
exception. For purposes of the limitations on nonqualified deferred compensation under section 409A of the Code, each payment of
compensation under this Agreement shall be treated as a separate payment of compensation for purposes of applying the section 409A
of the Code deferral election rules and the exclusion under section 409A of the Code for certain short-term deferral amounts. All
payments to be made upon a termination of employment under this Agreement may only be made upon a “separation from service“
under section 409A of the Code. In no event may the Executive, directly or indirectly, designate the calendar year of any payment
under this Agreement. Within the time period permitted by the applicable Department Regulations (or such later time as may be permitted
under section 409A or any Internal Revenue Service or Department rules or other guidance issued thereunder), the Bank may, in consultation
with the Executive, modify the Agreement in order to cause the provisions of the Agreement to comply with the requirements of section
409A of the Code, so as to avoid the imposition of taxes and penalties on the Executive pursuant to section 409A of the Code.

 

    6 

     

    

 

3.2       In-kind
Benefits and Reimbursements. Notwithstanding anything to the contrary in this Agreement, all reimbursements and in-kind
benefits provided under this Agreement shall be made or provided in accordance with the requirements of section 409A of the Code
including where applicable, the requirement that: (i) any reimbursement is for expenses incurred during the Executive’s lifetime
(or during a shorter period of time specified in this Agreement); (ii) the amount of expenses eligible for reimbursement, or in-kind
benefits provided, during a calendar year may not affect the expenses eligible for reimbursement, or in-kind benefits to be provided,
in any other calendar year; (iii) the reimbursement of an eligible expense will be made no later than the last day of the calendar
year following the year in which the expense is incurred; and (iv) the right to reimbursement or in-kind benefits is not subject
to liquidation or exchange for another benefit.

 

3.3       Delay
of Payments. Notwithstanding any other provision of this Agreement to the contrary, if the Executive is considered a “specified
employee“ for purposes of section 409A of the Code (as determined in accordance with the methodology established by the Corporation
and the Bank as in effect on the date of termination), any payment that constitutes nonqualified deferred compensation within the
meaning of section 409A of the Code that is otherwise due to the Executive under this Agreement during the six month period following
his separation from service (as determined in accordance with section 409A of the Code) shall be accumulated and paid to Executive
on the first business day of the seventh (7th) month following his separation from service (the “Delayed Payment
Date“). The Executive shall be entitled to interest on any delayed cash payments from the date of termination to the Delayed
Payment Date at a rate equal to the applicable federal short term rate in effect under Code section 1274(d) for the month in which
the Executive’s separation from service occurs. If the Executive dies during the postponement period, the amounts and entitlements
delayed on account of section 409A of the Code shall be paid to the person designated by the Executive in writing for this purpose,
or in the absence of any such designation, to: (i) his spouse if she survives him or (ii) to his estate if his spouse does not
survive him, on the first to occur of the Delayed Payment Date or thirty (30) days after the date of the Executive’s death. The
foregoing shall apply only to those payments required hereunder, if any, that do not qualify as short term deferrals or an exempt
pay arrangement under section 409A.

 

ARTICLE IV

 

MISCELLANEOUS

 

4.1       Termination
of Employment. This Agreement shall not in any way obligate either the Corporation or the Bank to continue the employment
of Executive, nor shall this Agreement limit the right of the Corporation or the Bank to terminate Executive’s employment for any
reason.

 

4.2       Binding
Effect; Assignment. This Agreement shall be binding upon and inure to the benefit of the parties hereto, their respective
heirs, executors, administrators, successors and, to the extent permitted hereunder, assigns. All of the obligations of the Corporation
and the Bank hereunder shall be legally binding on any successor to the Corporation or the Bank, including without limitation,
any successor as a result of the consummation of a Change of Control. The right of Executive to receive payments hereunder may
not be assigned, alienated, pledged or otherwise encumbered by Executive and any attempt to do so shall be void and of no force
or effect.

 

    7 

     

    

 

4.3       Entire
Agreement; Amendment. This Agreement represents the entire understanding between the parties hereto with respect to the
subject matter hereof and may be amended only by an instrument in writing signed by the parties hereto.

 

4.4       Jurisdiction.
The parties hereto consent to the exclusive jurisdiction of the courts of the Commonwealth of Pennsylvania in any and all actions
arising hereunder.

 

4.5       Governing
Laws. This Agreement shall be governed and construed under the laws of the Commonwealth of Pennsylvania, without regard
to the conflict of laws principles thereof.

 

4.6       Rabbi
Trust. The Corporation and the Bank have established a rabbi trust. In the event of a Change of Control, the Corporation
and the Bank shall, in accordance with the terms of the trust, contribute the amounts described therein. Thereafter, amounts payable
under this Agreement shall be paid first from the assets of such trust and the income thereon. Notwithstanding establishment of
such trust, the Corporation and the Bank shall remain obligated to make the necessary payments under this Agreement to the extent
the trust does not, at any time, have adequate assets to pay benefits when due under this Agreement.

 

4.7       Unfunded
Obligations. The obligations to make payments hereunder shall be unfunded and Executive’s right to receive any payments
hereunder shall be the same as any other unsecured general creditor.

 

4.8       Individual
Agreement. This Agreement constitutes an agreement solely between the Corporation, the Bank and Executive named herein.
This Agreement is intended to constitute a non-qualified arrangement for the benefit of the Executive and shall be construed and
interpreted in a manner consistent with such intention.

 

4.9       Headings.
All headings preceding the text of the several paragraphs hereof are inserted solely for reference and shall not constitute a part
of this Agreement, nor affect its meaning, construction or effect.

 

    8 

     

    

 

IN WITNESS WHEREOF,
the Corporation and the Bank have each caused this Agreement to be executed and attested to on its behalf by a duly authorized
officer, and Executive hereunto has set his hand as of the day and year first above written.

 

	ATTEST:	 	CODORUS VALLEY BANCORP, INC.
	 	 	 
	 	 	 
		 	By:	 
	Secretary	 	
	 	 	 
	 	 	 
	ATTEST:	 	PEOPLESBANK, a Codorus Valley Company
	 	 	 
	 	 	 
		 	By:	 
	Secretary	 	
	 	 	 
	 	 	 
	WITNESS:	 	EXECUTIVE:
	 	 	 
	 	 	 
		 	 	 

 

    9

Source: [{"source": "alea-institute/alea-institute/kl3m-data-edgar-agreements/train-00280-of-00352.parquet"}, [{"source": "alea-institute/alea-institute/kl3m-data-edgar-agreements/train-00280-of-00352.parquet"}]]