Theoretical obligations between a samurai and his lord (usually a daimyo) increased from the Genpei era to the Edo era. When was Bushido formalized