tokens: Bubonic plague has caused three deadly pandemics in human history : from the mid - sixth to mid - eighth century , from the mid - fourteenth to the mid - eighteenth century and from the end of the nineteenth until the mid - twentieth century .