Complex sentence: He was born in Taiyuan in a family that formerly produce eunuchs (Di Renji was not a eunuch), his grandpa Di Shaoshu was the vice-chancellor during the Emperor Taizong period.
Split into simpler sentences: He was born in Taiyuan in a family that formerly produced eunuchs (Di Renjie was not a eunuch). His grandpa, Di Shaoshu, was the vice-chancellor during the Emperor Taizong period.