Complex sentence: Ecuador competed at the 1996 Summer Olympics in Atlanta, United States, winning its first Olympic medal when Jefferson Pérez won the gold medal in the men's 20 km walk.
Split into simpler sentences: Ecuador competed at the 1996 Summer Olympics in Atlanta, United States. It won its first Olympic medal when Jefferson Pérez won the gold medal in the men's 20 km walk.