This new contact with Europeans and Americans changed the Japanese culture. The Meiji Restoration of 1868 stopped some old ways and added many new ones. The Empire of Japan was created, and it became a very powerful nation and tried to invade the countries next to it. It invaded and annexed Ryukyu Kingdom, Taiwan, and Korea. It had wars with China and Russia: the First Sino-Japanese War, the Boxer Rebellion, the Russo-Japanese War, and the Second Sino-Japanese War, which grew to become a part of World War II when Japan became allies with Nazi Germany and Fascist Italy.