included James Lovell, who became the Congress' expert on codes and ciphers and has been called the father of American cryptanalysis. The committee employed secret agents abroad, conducted covert operations, devised codes and ciphers, funded propaganda activities, authorized the opening of private mail, acquired foreign publications for use in analysis, established a courier system, and developed a maritime capability apart from that of the Continental Navy, and engaged in regular communications with Britons and Scots who sympathized with the American cause. It met secretly in December 1775 with a French intelligence agent who visited Philadelphia undercover as a Flemish merchant. On April 17, 1777, the Committee of Secret Correspondence renamed the Committee of Foreign Affairs but kept with its intelligence function. Matters of diplomacy were conducted by other committees or by Congress as a whole. On January 10, 1781, the Department of Foreign Affairs—the forerunner of the Department of State—was created and tasked with "obtaining the most extensive and useful information relative to foreign affairs", the head of which was empowered to correspond "with all other persons from whom he may expect to receive useful information." Committee on Spies On June 5, 1776, the Congress appointed John Adams, Thomas Jefferson, Edward Rutledge, James Wilson, and Robert Livingston "to consider what is proper to be done with persons giving intelligence to the enemy or supplying them with provisions." They were charged with revising the Articles of War regarding espionage directed against the American forces. The problem was an urgent one: Dr. Benjamin Church, chief physician of the Continental Army, had already been seized and imprisoned as a British agent, but there was no civilian espionage act, and George Washington thought the existing military law did not provide punishment severe enough to afford a deterrent. On November 7, 1775, the death penalty was added for espionage to the Articles of War, but the clause was not applied retroactively, and Dr. Church escaped execution. On August 21, 1776, the committee's report was considered by Congress, which enacted the first espionage act. It was resolved further that the act "be printed at the end of the rules and articles of war." On February 27, 1778, the law was broadened to include any "inhabitants of these states" whose intelligence activities aided the enemy in capturing or killing revolutionary forces. British organizations involved in espionage Compared to American espionage efforts, British efforts were limited during the