In the beginning, it seemed that Władysław III had the upper hand in the fight for Kraków, especially after the Congress of Cienia Pierwsza near Kalisz on 5 May 1228, where he granted several privileges to the church and promised to respect the old laws.