During World War II, he was head of the Theoretical Division at the secret Los Alamos laboratory that developed the first atomic bombs. There he played a key role in calculating the critical mass of the weapons and developing the theory behind the implosion method used in both the Trinity test and the " Fat Man " weapon dropped on Nagasaki in August 1945.