Complex sentence: Wałęsa supported Poland's entry into NATO and the European Union, both of which occurred after his presidency, in 1999 and 2004, respectively.
Split into simpler sentences: Wałęsa supported Poland's entry into NATO and into the European Union. Both these goals would be realized after his presidency, in 1999 and 2004, respectively.