Battle of Baekgang
Japan had a navy by at least the 6th century, with their invasions and involvement in political alliances during the Three Kingdoms of Korea. A joint alliance between the Korean Silla Kingdom and the Chinese Tang Dynasty (618–907 AD) heavily defeated the Japanese and their Korean allies of Baekje in the Battle of Baekgang on August 27 to August 28 of the year 663 AD. This decisive victory expelled the Japanese force from Korea and allowed the Tang and Silla to conquer Goguryeo.