Question: where did the idea of chivalry come from
Answer: Chivalry , or the chivalric code , is an informal , varying code of conduct developed between 1170 and 1220 , never decided on or summarized in a single document , associated with the medieval institution of knighthood ; knights ' and gentlewomen 's behaviors were governed by chivalrous social codes .