Complex sentence: He contested the parliamentary elections in 1989 and was elected to the Sri Lankan Parliament along with nine other members of EROS, but later resigned.
Split into simpler sentences: He contested the parliamentary elections in 1989. He was elected to the Sri Lankan Parliament along with nine other members of EROS, but later resigned.