The practice of contests dated back to the Middle Ages, and was revived in the mid-17th century