The daimyo were powerful feudal rulers from the 10th century to the early 19th century in Japan . They were the most powerful feudal rulers from the 10th century to the middle 19th century in Japan subordinate to the Shogun .