At the same time that they were attacking Pearl Harbor, the Japanese attacked Malaya. This caused the United Kingdom, Australia, and New Zealand to join the United States as Allies in the war against Japan (Australia had joined World War 2 in 1939 when Germany invaded Poland). The goals of the Japanese battles in the war were to remove British and Americans from the Netherlands Indies and the Philippines.