The Republic of China, which withdrew to Taiwan after losing the Chinese Civil War, regards Koxinga as a patriot who also retreated to Taiwan and used it as a base to launch counterattacks against the Qing dynasty of mainland China. In Taiwan, Koxinga is honored as the island’s most respected saint for expelling the Dutch and seen as the original ancestor of a free Taiwan, and is known as Kaishan Shengwang, or "the Sage King who Opened up Taiwan" and as "The Yanping Prince", referring to the Kingdom of Tungning, which he established in modern-day Tainan.