The Black Death followed a period of population growth in Europe which, combined with two years of cold weather and torrential rains that wiped out grain crops, resulted in a shortage of food for humans and rats. This caused people and animals to crowd in cities, providing an optimal environment for disease.