What the film calls "the Old Code" is really an interpretation of chivalry. Many nobles and warriors across Europe strove to practice chivalry, which was more a way of life than just a code of conduct. This resulted in warriors and generals who embodied the concepts of courage, honor, and nobility. Or so some of the tales claim. Chivalry is a subject often debated by historians, and for good reason; fact and fiction are decidedly different when it comes to this popular element of medieval history. Before we get to knights and the practice of chivalry, we begin with where it came from and what it means.
The origins of chivalry as a practice are a bit harder to place, as a general lack of agreement among historians and scholars fail to pinpoint the where and the why of this prolific knightly code. The general consensus, however, is that chivalry first began to develop in northern France during the 12th century, although concepts similar to chivalry had been in practice throughout the 10th and 11th centuries. It began as a blending of martial skill, religious devotion, and good conduct, and from there gained in appeal as it was gradually adopted as the code that all knights were expected to follow.
Chivalry was both specific, yet not. You could read ten stories about knights, and all ten might adhere to slightly differing codes. You could likewise read about ten historically accurate codes of chivalry and find striking differences between them. Yet chivalry was generally always bound by a trio of concepts that, at their core, embodied the very basics of what a knight was supposed to be.
These three concepts were a knight's duty to country, to faith, and to women. Duty to country comprised a knight's loyalty to his lord or ruler. Also called a warrior's chivalry, this duty was most associated with valor, courage, readiness in battle, and defending the weak. Duty to faith encompassed all religious elements of a knight's life. It refers to the knight's devotion to God, generally above all else. This aspect of chivalry often entailed championing the faith against non-believers. It also touched upon the notion of protecting the innocent, an aspect that has since seen knights labeled as crusaders for good and warriors for justice.
The last duty was to women and is better known as courtly love. One of the most well-known aspects of chivalry, this duty bound a knight in service to women, most specifically his lady. A knight's lady was generally a respected woman of court. She could be the daughter of a powerful lord or even another man's wife. Courtly love was generally expected to be distant and pure; in theory knights rarely had much interaction with their chosen lady outside of the noble court and tournaments. This aspect of chivalry could lead to trouble. Lords did not always look kindly on knights claiming their wives or daughters as their chosen "ladies." It was also not a positive role for a woman; the lady of a knight was expected to behave in a certain way, making it something of a gilded cage.
A prime example is Edward of Woodstock, prince of England. He was the first Knight of the Garter, one of the highest orders of chivalry achievable in England, yet in battle his behavior was less than chivalrous; instead he embraced a pragmatic approach to war. Most notable were his tactics in the Hundred Years War where he burned the lands of peasants to deprive France of resources. This was the dichotomy of chivalry. Courtesy and valor were highly regarded, and it was expected that a knight would attempt to treat his opponents honorably. Rulers expected their knights to win battles though, and this meant that knights could often only show honor and courtesy in victory, not during the heat of battle.
Knights outside of battle were exceedingly diverse as well. Chivalry was often left to personal interpretation and so many knights were able to decide for themselves how they would behave. Some chose to embrace their duty to faith, living austere lives in dedication to crown and God. Others embraced their duty to country, becoming stalwart leaders who aided their monarchs as commanders and advisors. Some knights held themselves above the common folk, believing that chivalry and personal status elevated them above the concerns of the peasantry. Others embraced chivalry as a calling to assist those less fortunate than themselves.
Yet remnants of chivalry persisted. The concepts of courtesy, personal honor, and respect for women remain a core concept of gentlemanly behavior even to this day, and stories of gallant and valorous knights are our reminder that chivalry started with some of the best intentions: with medieval warriors and nobles striving to become honorable heroes.