King John II Casimir made his famous Lwów Oath during a holy mass in Lviv's Cathedral, entrusting the Commonwealth under the Blessed Virgin Mary's protection.
King Casimir III the Great moved the city to a new location and granted it Magdeburg rights, which implied that all city matters were to be resolved by a council elected by the wealthy citizens.