 Masayuki was also a patron of Yamazaki Ansai, one of the early figures in Edo-era Japanese Neo-Confucianism, and together with him wrote the famous Aizu House Code, which included a direct injunction regarding the loyalty of the clan to the Shōgun.Having taken most of the steps toward self-deification, Masayuki was enshrined after his death as the kami "Hanitsu-reishin" (土津霊神), at the Hanitsu Shrine near Lake Inawashiro.Tokugawa Iemitsu asked the famed swordsman Miyamoto Musashi to paint a screen portraying wild ducks.