The second half of the 19th century and the beginning of the 20th century (up to World War I) was a period of great prosperity, rapid economic growth and technological dynamism for Rijeka. Many authors and witnesses describe Rijeka of this time as a rich, tolerant, well-to-do town which offered a good standard of living, with endless possibilities for making one’s fortune. The Pontifical Delegate Celso Costantini also noted "the religious indifference and apathy of the town". The industrial development of the city included the first industrial scale oil refinery in Europe in 1882 and the first torpedo factory in the world in 1866, after Robert Whitehead, manager of the "Stabilimento Tecnico Fiumano" (an Austrian engineering company engaged in providing engines for the Austro-Hungarian Navy), designed and successfully tested the world's first torpedo. In addition to the Whitehead torpedo factory, which opened in 1874, the oil refinery (1882), and the paper mill, many other industrial and commercial enterprises were established or expanded in these years. These include a rice husking and starch factory (one of the largest in the world), a wood and furniture company, a wheat elevator and mill, the Ganz-Danubius shipbuilding industries, a cocoa and chocolate factory, a brick factory, a tobacco factory (the largest in the Monarchy), a cognac distillery, a pasta factory, the Ossoinack barrel and chest factory, a large tannery, five foundries and many others. At the beginning of the 20th century more than half of the industrial capacity in Croatia (which was at that time mostly agrarian) was located in Rijeka.