Between the 18th and early 20th centuries, ethnic Chinese communities were dominated by the "peranakan" presence. This period was followed by the growth of "totok" society. As part of a resinicization effort by the indigenized ethnic Chinese community, a new pan-Chinese movement emerged with the goal of a unified Chinese political identity. The movement later split in the 1920s when "peranakan" elites resisted the leadership of the "totok" in the nationalist movement, and the two groups developed their own objectives. When it became apparent that unification was being achieved on "totok" terms, "peranakan" leaders chose to align their community with the Dutch, who had abandoned the segregation policies in 1908. The two communities once again found common ground in opposition to the invading Japanese when the occupying forces treated all Chinese groups with contempt.