The Vietnamese adopted the eunuch system and castration techniques from China. Records show that the Vietnamese performed castration in a painful procedure by removing the entire genitalia with both penis and testicles being cut off with a sharp knife or metal blade.