A piezoelectric resonator includes a piezoelectric layer having a first
resonance frequency temperature coefficient of a first sign, a first and
a second electrode, the piezoelectric layer being arranged between the
first and second electrodes, and a compensation layer arranged between
the first electrode and the piezoelectric layer, of a compensation
material having a second resonance frequency temperature coefficient of a
second sign opposite to the first one, wherein the compensation material
is provided with a modification material to increase a conductivity of
the compensation layer in a direction of the first electrode and the
piezoelectric layer.