Medieval European Bad Year( bad harvest) Relief?

by solidarite

14th century Korea was a largely agrarian society. The ruling class, along with the monarchy had the sense of duty to relieve the farmers during a bad year of harvest even in the 14th century. They officially created a sort of grain bank where people can borrow grains during a bad year.

Other stories, records indicate the local magistrates would open the local granary to the farmers in the area during such time.

Is there any records of the equivalent of this sense of duty or practice in pre industrial European history?

Just to be clear, this is not an attempt to assert any superiority over any one of the cultures.

Vespertine