The Logan Act

The Logan Act came about during the Adams administration when  a private citizen, George Logan tried to negotiate with the French. The two nations were in conflict because of French aggression against United States shipping vessels(Quasi War).

Text of the Logan Act found here:

https://www.law.cornell.edu/uscode/text/18/953

President John Adams