What was a long-term effect of the bubonic plague on Europe?

It led to reduced scientific study.

It led to the development of a middle class.

It caused widespread poverty and famine.

It caused numerous religious conflicts.