Ryle was a new physics graduate and an experienced radio 'ham' in 1939, when the Second World War started. He played an important part in the Allied war effort, working mainly in radar countermeasures. After the war, "He returned to Cambridge with a determination to devote himself to pure science, unalloyed by the taint of war."