question: What year did King Sigismund III Vasa move his court to Warsaw?
sentence: In 1573 the city gave its name to the Warsaw Confederation, formally establishing religious freedom in the Polish–Lithuanian Commonwealth.