Feudalism developed in medieval Europe as a political and economic system in response to invasions and weak kings. It involved the division of land among lords in a hierarchy, with lesser lords pledging loyalty and service to greater lords in exchange for protection. Peasants worked the land of the lords in exchange for protection and a small plot to farm. Serfs were bound to the land and made up most of the population.