<Table> Espionage Act of 1917 <Tr> <Td_colspan="2"> </Td> </Tr> <Tr> <Th> Long title </Th> <Td> An Act to punish acts of interference with the foreign relations, and the foreign commerce of the United States, to punish espionage, and better to enforce the criminal laws of the United States, and for other purposes . </Td> </Tr> <Tr> <Th> Enacted by </Th> <Td> the 65th United States Congress </Td> </Tr> <Tr> <Th> Effective </Th> <Td> June 15, 1917 </Td> </Tr> <Tr> <Th_colspan="2"> Citations </Th> </Tr> <Tr> <Th> Public law </Th> <Td> Pub. L. 65--24 </Td> </Tr> <Tr> <Th> Statutes at Large </Th> <Td> 40 Stat. 217 </Td> </Tr> <Tr> <Th_colspan="2"> Legislative history </Th> </Tr> <Tr> <Td_colspan="2"> <Ul> <Li> Introduced in the House as H.R. 291 </Li> <Li> Passed the House on May 4, 1917 (261--109) </Li> <Li> Passed the Senate on May 14, 1917 (80--8) </Li> <Li> Signed into law by President Woodrow Wilson on June 15, 1917 </Li> </Ul> </Td> </Tr> <Tr> <Th_colspan="2"> United States Supreme Court cases </Th> </Tr> <Tr> <Td_colspan="2"> Schenck v. United States </Td> </Tr> </Table> <Tr> <Th> Long title </Th> <Td> An Act to punish acts of interference with the foreign relations, and the foreign commerce of the United States, to punish espionage, and better to enforce the criminal laws of the United States, and for other purposes . </Td> </Tr>

What was the goal of the espionage act of 1917