Kraków, located on the Vistula River in Lesser Poland Province, is the second largest and one of the oldest cities in Poland. The city was the capital of Poland until the end of the 16th century, when it was moved to Warsaw, and was where the royal residence was located and where coronations, royal weddings and funerals took place. Kraków’s architecture spans the Gothic, Renaissance and Baroque epochs and includes among its notable buildings the Royal Castle, Wawel Cathedral, St. Mary's Church, Saints Peter and Paul Church and the largest medieval market square in Europe, the Rynek Glówny. The medieval Cloth Hall in the middle of the square is effectively a 700-year old shopping mall. Cited as one of Europe's most beautiful cities, Kraków’s Old Town was declared the first UNESCO World Heritage Site in the world in 1978.