Salic law
Conflict between the Salic law and the male-preferred system was also the genesis of Carlism in Spain and Miguelism in Portugal.