The battle of midway was in June 1942 between US naval forces and imperial Japanese navy. It was a decisive victory for US navy which resulted in heavy losses for Japanese navy. The Japanese navy was headed by Yamamoto and had an intention to stop the US navy ships.