In 1849 the Habsburg Empire installed the first telegraph lines along the course of the Danube, connecting upper Austria and Vienna. This development was triggered by the constant threats posed by Danube floods. During the eighteenth and nineteenth centuries, floods had regularly caused major damage to cities and settlements along the river. The introduction of wide-reaching telegraph networks enabled Habsburg authorities to receive early warnings that enabled them to protect Vienna as well as other downstream settlements.