Culminating in the twelfth century, there was a concerted effort to bring this dangerous population under the control of the civil authorities: not only the code of chivalry, but the tournament, the joust—all these were more than anything else ways of keeping them out of trouble, as it were, in part by setting knights against each other, in part by turning their entire existence into a kind of stylized game.