In December 1941, Japan attacked the United States in the Philippines and at Pearl Harbor, and the United States declared war on Japan as part of World War II. Japan conquered the Philippines in 1942, in the Philippines campaign (1941–1942). In 1944 the Allies' Philippines Campaign (1944–45) against the Japanese occupation began with the Battle of Leyte Gulf. Allied forces eventually drove the Japanese from the islands.