Which of the following is true of medieval chivalry?

It guaranteed that women and other vulnerable people would not be mistreated.
It was a code that was never violated.
It was a major source of conflict between the nobility and the Church.
It was a code of conduct that developed to reform knights’ behavior.