visited by Polish rulers. It was an important political and judicial center of the province, here Lesser Poland’s szlachta organized its meetings. In 1404, King Władysław Jagiełło called such a meeting, to discuss new taxes, needed for the planned purchase of the Dobrzyń Land from the Teutonic Knights. In 1438, also in Korczyn, the szlachta convened to discuss whether King Jagiełło should accept the Bohemian crown. On April 25 of the same year, powerful Cardinal Zbigniew Oleśnicki, who opposed Polish alliance with Czech Hussites, called a Confederation here. In 1439, Polish supporters of the Hussites gathered near Nowy Korczyn, under Spytek of Melsztyn. On 4 May 1439 the royal army under Oleśnicki defeated the Hussites in the Battle of Grotniki. In the 15th century, several important meetings and events took place at the Nowy Korczyn castle. In 1461, King Casimir IV Jagiellon hosted here envoys of George of Poděbrady, the Crimean Khanate, and the Margraviate of Brandenburg, and in 1465, szlachta of both Lesser and Greater Poland gathered here to discuss finances needed to end the Thirteen Years' War. In 1470, Casimir IV Jagiellon met at the Nowy Korczyn castle with papal legate and envoy of Emperor Frederick III. On 9 October 1479 Martin Truchseß von Wetzhausen, Grand Master of the Teutonic Knights, paid homage to the Polish king at Nowy Korczyn. In the Kingdom of Poland, Nowy Korczyn was one of the most important administrative centers of the vast province of Lesser Poland. Here Lesser Poland sejmiks took place, in which regional senators and deputies of the Sejm met to discuss and coordinate their policies. The Nowy Korczyn sejmiks included representatives from Kraków Voivodeship, Sandomierz Voivodeship, Lublin Voivodeship, Podole Voivodeship, and Volhynian Voivodeship. Furthermore, the town was the seat of a starosta (one of six starostas of Sandomierz Voivodeship), and the seat of court for the Wiślica and Pilzno counties. In 1474 most of Nowy Korczyn burned in a fire, after which the town was released from its tax duties for 12 years. In 1549, King Zygmunt August funded a hospital, and at that time, Korczyn was a major beer producer, with 19 small breweries. Furthermore, it had waterworks and baths, built in 1578 with permission of King Stefan Batory. Eight times a year grain markets were organized, and the grain purchased in Nowy Korczyn was transported along the Vistula to Gdańsk. Korczyn had a number of granaries, in