In 1854, with the opening of Japan to foreign trade, the technologies developed in the West were introduced to and quickly adopted by many in Japan. That ushers in the era of Japanese animation in 1914 with the earliest anime being first screened in 1917 with a two minute clip of a folk tale and comedy about a samurai warrior.
Content Source: Bukisa - The History of Japanese Anime