The Congress of Vienna declared Kraków, Poland, a free republic state, and the Constitution of the Kingdom of Poland was signed.

Source