Six years after it started, World War II ended in 1945 with Nazi Germany surrendering in May and its leaders going on trial for war crimes in November.