What was the Code of Chivalry?

The Code of Chivalry, which was important in medieval times, was the code that the knights lived their lives by. The knights believed they should live their lives with high virtue and morals and be true gentlemen. They put others before themselves and lived to treat others with the highest respect.