Following the defeat of Yamato (Japan) and Baekche in the battle of Hakusukinoe in 663, fears arose of invasions from Silla and China, and areas around the bay were fortified.