The Japanese were forced out of the Korean peninsula in the sixth century , but not before the Koreans had bequeathed to the Yamato court copies of the sacred images and scriptures of Chinese Buddhism .
The Japanese remained in the Korean peninsula after the sixth century .