What does "hayward" mean?

Hayward: An officer who is appointed to guard hedges, and to keep cattle from breaking or cropping them, and whose further duty it is to impound animals found running at large.

Sources