or Yiddish, that dorsal tax would be forbidden, that the trials held within the community would be condensed, and that those who would not get an education would not be able to marry before the age of 25. The emperor also declared that Jews would establish Jewish schools for their children, but they opposed that because he forbade them organizing within the community and establishing public institutions. In the aftermath of different resistances, also from the Jewish party, which opposed the many conditions held upon them, and also from the Christian party, which opposed many of the rights given to Jews, the decree was not fully implemented. Upon his death in 1790, Joseph II was succeeded by his brother, Leopold II. After only two years of his reign, he died and was succeeded by his son Francis II, who continued working on the integration of Jews into the wider Austrian society, but he was more moderate than his uncle. In 1812, a Jewish Sunday school was opened in Vienna. During the same period of time, a number of limitations were placed on Jews, such as the obligation to study in Christian schools and to pray in German. Prosperity Between 1848 and 1938, Jews in Austria enjoyed a period of prosperity beginning with the start of the reign of Franz Joseph I as the Emperor of the Austro-Hungarian Empire, and dissolved gradually after the death of the emperor to the annexation of Austria to Germany by the Nazis, a process that led to the start of the Holocaust in Austria. Franz Joseph I granted Jews equal rights, saying "the civil rights and the country's policy is not contingent in the people's religion". The emperor was well liked by Jews, who, as a token of appreciation, wrote prayers and songs about him that were printed in Jewish prayer books. In 1849 the emperor canceled the prohibition against Jews organizing within the community, and in 1852 new regulations for the Jewish community were set. In 1867, Jews formally received full equal rights. In 1869 the emperor visited Jerusalem and was greeted with great admiration by Jews there. The emperor established a fund aimed at financing the establishment of Jewish institutions and in addition, established the Talmudic school for rabbis in Budapest. During the 1890s several Jews were elected to the Austrian Reichsrat. During the reign of Franz Joseph and after, Austria's Jewish population