Feudalism was a set of legal and military customs in medieval Europe that flourished between the 9th and 15th centuries. It can be broadly defined as a system for structuring society around relationships derived from the holding of land, known as a fiefdom or fief, in exchange for service or labour.