The German Confederation possessed practically no fleet of its own, but relied upon the allied powers of Great Britain, the Netherlands, and Denmark. During the First War of Schleswig of 1848–1851, the failure of this strategy became clear because Great Britain and the Netherlands remained neutral and Denmark became the enemy. Within a few days, the Danish Navy halted all German maritime trade in the North and Baltic Seas. The navy of Austria, Prussia's ally, lay in the Mediterranean and was able to intervene only later in the war.