Since agriculture was equivalent to 70% of the national income, the most important economic transformations included the establishment of mines and the textile industry; the development of these sectors brought more profit and higher tax revenues. The beginnings were difficult due to floods and intense diplomatic relationship with Prussia. It was not until 1822 when Prince Francis Xavier Drucki-Lubecki negotiated to open the Polish market to the world. He also tried to introduce appropriate protective duties. A large and profitable investment was the construction of the Augustów Canal connecting Narew and Neman Rivers, which allowed to bypass Danzig (Gdańsk) and high Prussian tariffs. Drucki-Lubecki also founded the Bank of Poland, for which he is mostly remembered.