The subsequent power struggle at first split the country into two imperial courts , and then effective control of Japan was splintered for two centuries among scores of daimyo ( feudal warlords ) .
The power struggle of the two imperial courts caused conflict for two centuries .