Following the attack on Pearl Harbor, the United States declared war against Japan, and within days China joined the Allies in formal declaration of war against Japan, Germany and Italy.