Nazi rule over the Danube River was brought about by force of arms, through annexation of Austria, invasion of Yugoslavia and of the Soviet Union and treaties with the Kingdom of Romania and Hungary, but a legal cover was provided through moves that resulted in a new international order on the river beginning in 1940 and ending in 1945.