It was crucial in creating a peace between the three kingdoms and securing an alliance between Poland and Hungary against Habsburg Austria.
Po uničujoči invaziji Mongolov na Evropo leta 1242, je bilo mesto obnovljeno na drugem kraju, bolj proti jugu.