On 29 May, Japanese forces under Admiral Motonori Kabayama landed in northern Taiwan, and in a five-month campaign defeated the Republican forces and occupied the island's main towns.