 The new Serbian government was not friendly toward the Jewish community, and by 1831 there were prohibitions against Jews entering some professions.The situation for the Jews briefly improved under the rule of Prince Mihailo Obrenović III (1839–1842), but anti-Jewish provisions were reinstated under Prince Alexander Karađorđević (1842–1858).After Belgrade was liberated, the Jews fell victim to decades of discriminatory taxes and restrictions on the choice of residence.