Complex sentence: In 1885, Datun (大墩) was designated as the capital of the prefecture and initially the provincial capital, but four years later (1889), the provincial capital was moved to what is now known as Taipei.
Split into simpler sentences: In 1885, Datun (大墩) was designated as the capital of the prefecture. In 1889, the provincial capital was moved to what is now known as Taipei.