With the Meiji restoration of 1868, which was accompanied by a more prominent role for Shintoism, Horyu-ji fell into a decline. However, the pioneering Law for the Preservation of Ancient Shrines and Temples 1897 resulted in it becoming the subject of a major restoration effort, and it has retained its primacy in Japanese conservation policies and programmes since that time.