In 1933, Marshall left Yale to become the Assistant Solicitor at the Department of the Interior under Harold L. Ickes. He authored the Code of Fair Competition for the Petroleum Industry (1933),[5] and the Connally Hot Oil Act of 1935 after the Supreme Court's decision to strike down the National Industrial Recovery Act.