Gongsanseong (공산성)
Constructed sometime before the 5th Century A.D. when the annals of Baekje first include mention of a completed fortress, Gonsanseong—then called Ungjinseong—became the second capital of the Kingdom of Baekje in 475 after the original capital at Wiryeseong (Seoul) was taken by Goguryeo. In 554, Goguryeo struck toward Ungjin, attempting to take fortress as well, but that attempt failed owing in large part to the strength of this natural defensive position. Ungjin Castle would host the king and his bureaucracy until 538 when it would move again to the more defensible Sabi (modern Buyeo), further south along the Gum River.
It is worth noting that, consistent with fortifications of the period, Gongsanseong’s walls and ramparts were originally not clad in stone, but rather formed of rammed earth topped with wooden battlements. Stone was used sparingly at key locations like gates, but the walls wouldn’t receive their masonry glacis until much later when the Joseon kings used Gongsanseong for government business until the dynasty fell in 1897.
(click on the pictures to enlarge)