In 1505, Alexander Jagiellon strengthened trade relations with Hungary. As a result, the majority of Hungarian exports to Polish territories and beyond were sent through Biecz. These goods include iron, copper, lead, salt, wool, and large quantities of Hungarian wine. Initially this wine was a poor trade good, as the liquor was so expensive that only the magnates could afford to buy it. Over time, however, it became a more common drink, and increasing quantities were exported. On 17 January 1618, the wine cellars built by Casimir the Great had a stock of 331 barrels of Hungarian wine.