Task: Text Categorization
Input (English): The Bar Confederation fought for the independence of this nation. The thirteenth of the Fourteen Points called for this country's establishment and its access to the sea. The Piasts were one line of kings from this nation, which was home to a parliament called the Sejm (""SAME""). This thrice-partitioned nation was the birthplace of Pope John Paul II. For 10 points, name this country whose first post-communist president was Lech Walesa, who started the Solidarity union in this nation's Gdansk shipyards.
Output (English): History