Law banning female succession