During the Austrian rule the Groznjan area flourished. Building of the Parenzana railroad in 1902 enhanced development of trade and agriculture. Wine, olive oil, eggs and other produce were sold in Koper and Trieste. According to the 1910 census, the town of Groznjan had 1,658, and the municipal area 4,028 inhabitants. Groznjan had a doctor, post office, school, lawyer, notary public, oil- processing plant, bakery, groceries and clothing stores, two butcher’s, several inns and various trade shops (shoemakers, blacksmiths, tailors, carpenters, etc.). The fall of the Austrian Empire, the subsequent Italian rule and the Great Depression had its consequences. In the 1920s people started to emigrate, looking for work in Trieste and overseas.