Complex sentence: For example, in 1979 the Uganda-Tanzania War, Tanzania invaded Uganda to overthrow Idi Amin and after Tanzania overthrow Amin, they left the country.
Split into simpler sentences: For example, in 1979 the Uganda-Tanzania War, Tanzania invaded Uganda to overthrow Idi Amin. But after Tanzania overthrew Amin, they left the country.