Anping (安平) is a district of Tainan City. The history of Anping dates back to the 17th century, when Dutch East India Company occupied Anping (called Tayuan at that time). Anping was a small island separated from mainland Taiwan until the 19th century.