Original: In return, all Dutch officials, soldiers and civilians left with their personal belongings and supplies back to Batavia, ending the 38 years of Dutch colonial rule on Taiwan.
Simplified: This ended 38 years of Dutch colonial rule on Taiwan.