<Tr> <Td> <Ul> <Li> </Li> <Li> </Li> <Li> </Li> </Ul> </Td> </Tr> <Ul> <Li> </Li> <Li> </Li> <Li> </Li> </Ul> <P> The Allied occupation of Japan at the end of World War II was led by General Douglas MacArthur, the Supreme Commander of the Allied Powers, with support from the British Commonwealth . Unlike in the occupation of Germany, the Soviet Union was allowed little to no influence over Japan . This foreign presence marks the only time in Japan's history that it has been occupied by a foreign power . The country became a parliamentary democracy that recalled "New Deal" priorities of the 1930s by Roosevelt . The occupation, codenamed Operation Blacklist, was ended by the San Francisco Peace Treaty, signed on September 8, 1951, and effective from April 28, 1952, after which Japan's sovereignty--with the exception, until 1972, of the Ryukyu Islands--was fully restored . </P> <P> According to John Dower, in his book Cultures of War: Pearl Harbor / Hiroshima / 9 - 11 / Iraq, the factors behind the success of the occupation were: </P>

When did the us leave japan after wwii