Complex sentence: By the end of August a Solidarity-led coalition government was formed and in December 1990 Wałęsa was elected President of Poland.
Split into simpler sentences: By the end of August, a Solidarity-led coalition government was formed. In December 1990, Wałęsa was elected President of Poland.