By 1880, there were 13,488 Jews in Croatia, rising to 20,032 by 1900. At the beginning of the 20th century, there were 21 Jewish communities in Croatia, the largest being in Zagreb (3,000 people) and Osijek (3,000 people). The Jewish community of Croatia became highly successful and integrated. By 1900, 54% of Zagreb Jews and 35% of all Croatian Jews spoke Croatian as their mother tongue. Despite their small numbers, Jews were disproportionately represented in industrial and wholesale business in Croatia, and in the timber and food industries. Several Jewish families were amongst Croatia's wealthiest families. Despite the apparent wealth, most Jews were middle class, and many second generation Croatian Jews were attracted to the fields of law and medicine.