the polish–lithuanian commonwealth was marked by high levels of ethnic diversity and by relative religious tolerance, guaranteed by the warsaw confederation act 1573; however, the degree of religious freedom varied over time. the constitution of 1791 acknowledged catholicism as the "dominant religion", unlike the warsaw confederation, but freedom of religion was still granted with it.