The recognition of Czech sovereignty over the Duchy of Silesia was also confirmed. The second Congress took place in 1339 and decided that if Casimir III of Poland died without a son, which actually happened, the King of Poland would be the son of Charles I of Hungary, Louis I of Hungary.[7]