Gongju (Gongju-si; 공주시; 公州市) is a city in South Chungcheong Province, South Korea. Gongju was formerly named Ungjin and was the capital of Baekje from AD 475 to 538.