How did chivalry develop?

Can you answer this question?