Napoleon, who had just come to power, received them cordially, and the danger of conflict subsided with the negotiation of the Convention of 1800, which formally released the United States from its 1778 wartime alliance with France.