Original: Tainan also served as the capital of the Republic of Formosa after the Japanese took Taipei bloodlessly.
Simplified: Tainan was also the capital of the Republic of Formosa.