Japan's lords had to move to the capital every other year
1603–1862 · Edo (Tokyo), Japan
In 1600 Tokugawa Ieyasu won the Battle of Sekigahara, ending a century of civil war, and in 1603 he became shogun, Japan's military ruler. The emperor in Kyoto stayed on as a figurehead. Ieyasu's family would rule for more than 250 years. The danger was the daimyo, the regional lords with their own samurai armies.
The answer was sankin-kōtai, "alternate attendance," made compulsory in 1635. Each lord had to live in the shogun's capital, Edo, every other year, then march home with a huge procession. His wife and heir stayed in Edo all the time, as hostages.
The travel and the second household in Edo ate up, by different estimates, 40 to 80 percent of a lord's spending. That left little for raising armies. It also built roads lined with inns, and helped make Edo, today's Tokyo, one of the largest cities in the world.
It worked. The Tokugawa kept Japan largely at peace from 1615 until the 1860s, when foreign warships finally broke their hold.