The impact of the pandemic of the Black Plague

What was the impact of the pandemic of the Black Plague during the Middle ages? How did it permeate all levels of society and what was its ultimate outcome?