Loi salique
Without Salic law, upon the death of John I, the crown would have passed to his half-sister, Joan (later Joan II of Navarre). However, Joan's paternity was suspect due to her mother's adultery in the Tour de Nesle Affair; the French magnates adopted Salic law to avoid the succession of a possible bastard.