sentence1: But by that time, the country had joined the World Trade organization, and the European Union had agreed to open negotiations to admit Poland (along with the Czech Republic, Hungary, Slovakia, and Slovenia) into the EU.
sentence2: After entering the European Union, Poland's trade boomed.