The Pacific War saw the Allies pitted against Japan, the latter aided by Thailand and to a lesser extent by the Axis allies, Germany and Italy. Fighting consisted of some of the largest naval battles in history, and incredibly fierce battles and war crimes across Asia and the Pacific Islands, resulting in immense loss of human life. The war culminated in massive Allied air raids over Japan, and the atomic bombings of Hiroshima and Nagasaki, accompanied by the Soviet Union's declaration of war and invasion of Manchuria and other territories on 9 August 1945, causing the Japanese to announce an intent to surrender on 15 August 1945. The formal surrender of Japan ceremony took place aboard the battleship in Tokyo Bay on 2 September 1945. After the war, Japan lost all rights and titles to its former possessions in Asia and the Pacific, and its sovereignty was limited to the four main home islands and other minor islands as determined by the Allies. Japan's Shinto Emperor relinquished much of his authority and his divine status through the Shinto Directive in order to pave the way for extensive cultural and political reforms.