In the 17th century, Cluj suffered from great calamities, suffering from epidemics of the plague and devastating fires. The end of this century brought the end of Turkish sovereignty, but found the city bereft of much of its wealth, municipal freedom, cultural centrality, political significance and even population. It gradually regained its important position within Transylvania as the headquarters of the Gubernium and the Diets between 1719 and 1732, and again from 1790 until the revolution of 1848, when the Gubernium moved to Nagyszeben (Hermannstadt), present-day Sibiu). In 1791, a group of Romanian intellectuals drew up a petition, known as "Supplex Libellus Valachorum", which was sent to the Emperor in Vienna. The petition demanded the equality of the Romanian nation in Transylvania in respect to the other nations (Saxon, Szekler and Hungarian) governed by the "Unio Trium Nationum", but it was rejected by the Diet of Cluj.