Issues of inheritance caused family strife as primogeniture became common, in contrast to the division of succession designated by law before the 14th century. To avoid infighting, invasions of neighboring samurai territories became common and bickering among samurai was a constant problem for the Kamakura and Ashikaga Shogunates.