Lamarr and composer George Antheil patented the idea during the war as a way to stop enemy forces from jamming radio-guided torpedoes, by rapidly switching frequencies. The military shelved it at the time, but the same core principle later underpinned much of modern wireless communication — long after her film career had ended.