An American diplomatic commission was sent to France in July 1797 to negotiate a solution to problems that were threatening to break out into war. The diplomats, Charles Cotesworth Pinckney, John Marshall, and Elbridge Gerry, were approached through informal channels by agents of the French foreign minister, Talleyrand, who demanded bribes and a loan before formal negotiations could begin. Although it was widely known that diplomats from other nations had paid bribes to deal with Talleyrand at the time, the Americans were offended by the demands, and eventually left France without ever engaging in formal negotiations. Gerry, seeking to avoid all-out war, remained for several months after the other two commissioners left. His exchanges with Talleyrand laid groundwork for the eventual end to diplomatic and military hostilities.