Comitatus, courtly love and Codes of chivalry, are rules of behavior represented the actions and values of the ideal medieval man and contributed to the formation of the masculine ideal of the period.Chivalric values included generosity, fellowship, purity, courtesy, and compassion. Knightly virtues involved bravery, honor, loyalty to the king, the profession of his faith, gallantry towards women, and truthfulness. These values are influenced by Christianity and also exaggerated behaviors of the true nature of a man. For example The Pearl Poet based Gawain's character on an idealized image of a gentleman. He is expected to meet the demands of the feudal society, Christian morality, social etiquette, and nobility. However, the poet illustrates how difficult it is to maintain these ideals. The poem breaks from the romantic tradition presenting a hero with flaws. Gawain proves how difficult it is to remain faithful to all of the rules of behavior expected from a man.