New law aimed at wiping out dynasties