Courtly love was a code of conduct between knights and ladies that developed in the 12th century and spread across Europe. It involved strict rules where married nobles could express romantic feelings outside of marriage through poetry, favors, and chivalrous acts. A famous example is the legendary romance between King Arthur and Guinevere. The tradition helped temper violence during the Middle Ages and elevated the social role of women, though it did not significantly change women's legal status.