 Tsar Alexander attempted to mediate the conflict between Britain and the United States, and President Madison appointed Adams, Secretary of the Treasury Albert Gallatin, and Federalist Senator James A. Bayard to a delegation charged with negotiating an end to the war.Gallatin and Bayard arrived in St. Petersburg in July 1813, but the British declined Tsar Alexander's offer of mediation.Hoping to commence the negotiations at another venue, Adams left Russia in April 1814.