On January 28, 1573, the Warsaw Confederation was signed, opening religious freedom in Lithuania and Poland. The Confederation document statutized the Polish practice of tolerating different religions.
Read the Articles of the Warsaw Confederation in the original Polish.