The Battle of Midway, fought from June 4th to 7th, 1942, was a pivotal naval battle during World War II between the United States and Japan, resulting in a major victory for the Allies. U.S. cryptologists successfully predicted the Japanese attack, leading to the sinking of four Japanese aircraft carriers and one destroyer, while the U.S. lost one carrier and one destroyer. This defeat significantly weakened the Japanese navy and marked a turning point in the Pacific Theater, enabling the U.S. and its allies to take the offensive thereafter.