The kingdom of Silla, in 562, expels from the Korean peninsula the Japanese, who had established a foothold on the coast in the fourth century.