The kokugaku movement, or 'National Learning,' was an intellectual movement in Japan during the late Edo period that emphasized the study of Japanese literature, history, and philosophy in contrast to Western influences. This movement sought to promote a sense of national identity and cultural pride by reviving ancient Japanese texts and traditions, which became increasingly significant as Japan faced pressures from foreign powers and internal strife, leading to the decline of the shogunate.