From 1774 to 1783, the British government and its upstart American colony became locked in an increasingly bitter struggle as the Americans moved from violent protest over British colonial policies to independence. As this scenario developed, intelligence and counterintelligence played important roles in America's fight for freedom and British efforts to save its empire.
It is apparent that British General Thomas Gage, commander of the British forces in North America since 1763, had good intelligence on the growing rebel movement in the Massachusetts colony prior to the Battles of Lexington and Concord. His highest paid spy, Dr. Benjamin Church, sat in the inner circle of the small group of men plotting against the British. Gage failed miserably, however, in the covert action and counterintelligence fields. Gage's successor, General Howe, shunned the use of intelligence assets, which impacted significantly on the British efforts. General Clinton, who replaced Howe, built an admirable espionage network but by then it was too late to prevent the American colonies from achieving their independence.
On the other hand, George Washington was a first class intelligence officer who placed great reliance on intelligence and kept a very personal hand on his intelligence operations. Washington also made excellent use of offensive counterintelligence operations but never created a unit or organization to conduct defensive counterintelligence or to coordinate its activity. This he left to his commanders and to committees established in the colonies.
When the Revolution was over and a new nation emerged, there continued to be ample opportunities to create a counterintelligence service. Spy scares, conspiracies and European meddling occurred repeatedly. But it isn't until the Civil War period that an effort is made to create a federal agency to conduct counterintelligence.