Amidst the Chinese' own Three Kingdoms period, the Chinese state of Wei launched an invasion deep into the Korean peninsula towards the Han River from the Wei commanderies at Lelang and Daifeng in 246 CE. The purpose of this campaign was to disrupt the development of a new power in the region. This rising power was none other than Baekje. According to both the Korean Samguk Sagi and the Wei Chinese Wei Zhi, the governor of Daifang, Gong Zun, was killed and Baekje survived the invasion.
At this time, Baekje was under the leadership of King Goi (r. 234-286 CE). History portrays King Goi as a powerful and capable leader and he is credited with having greatly furthered Baekje's consolidation as a truly realized centralized monarchical state with a sophisticated bureaucracy and administrative code. In 262, King Goi enforced strict regulations against official corruptuion. Through its flowering during this period, Baekje, formerly on the defensive, also went on the offensive. Baekje forces assaulted the Wei Chinese commanderies of Lelang and Daifang. The process of Baekje's consolidation was completed by the time of King Geunchogo (r.346-375 CE)









