Who ended the war in 1945?