 During the colonial era, some genocides killed tens of thousands of Chinese.During the Indonesian killings of 1965–66, in which more than 500,000 people died, ethnic Chinese were killed and their properties looted and burned as a result of anti-Chinese racism on the excuse that Dipa "Amat" Aidit had brought the PKI closer to China.The anti-Chinese legislation was in the Indonesian constitution until 1998.