<Tr> <Td> </Td> <Td> This article needs additional citations for verification . Please help improve this article by adding citations to reliable sources . Unsourced material may be challenged and removed . (October 2008) (Learn how and when to remove this template message) </Td> </Tr> <P> The daimyō (大名, IPA: (daimjoː) (listen)) were powerful Japanese feudal lords who, until their decline in the early Meiji period, ruled most of Japan from their vast, hereditary land holdings . In the term, dai (大) means "large", and myō stands for myōden (名 田), meaning private land . </P> <P> Subordinate only to the shōgun, daimyōs were the most powerful feudal rulers from the 10th century to the middle 19th century in Japan . From the Shugo of the Muromachi period through the Sengoku to the daimyōs of the Edo period, the rank had a long and varied history . The backgrounds of daimyō also varied considerably; while some daimyō clans, notably the Mōri, Shimazu and Hosokawa, were cadet branches of the Imperial family or were descended from the kuge, other daimyōs were promoted from the ranks of the samurai, notably during the Edō period . </P> <P> The term daimyō also sometimes refers to the leading figures of such clans, also called "Lord". It was usually, though not exclusively, from these warlords that a shōgun arose or a regent was chosen . Daimyōs often hired samurai to guard their land and they paid the samurai in land or food as relatively few could afford to pay samurai in money . The daimyō era ended soon after the Meiji Restoration with the adoption of the prefecture system in 1871 . </P>

What is the difference between shogun and daimyo
find me the text answering this question