Question: how did knights follow the code of chivalry
Answer: It arose in the Holy Roman Empire from the idealisation of the cavalryman -- involving military bravery , individual training , and service to others -- especially in Francia , among horse soldiers in Charlemagne 's cavalry .