How did fuedalism end?

Ok look basically it was because of the Bubonic Plague which was started by fleas on rats that got onto trade ships. That's just one reason. Another reason is because of the Clergy. The Pope wanted to much. He tryed getting more and more power threatening to excommunicate people from the Roman Catholic Church.