Background: John Marshall (September 24, 1755 - July 6, 1835) was an American politician and the fourth Chief Justice of the United States (1801-1835). His court opinions helped lay the basis for United States constitutional law and many say he made the Supreme Court of the United States a coequal branch of government along with the legislative and executive branches. Previously, Marshall had been a leader of the Federalist Party in Virginia and served in the United States House of Representatives from 1799 to 1800. He was Secretary of State under President John Adams from 1800 to 1801 and, at the age of 45, became the last of the chief justices to be born in Colonial America.
Context: In 1797, Marshall accepted when President John Adams appointed him to a three-member commission to represent the United States to negotiate with France which, during the midst of its Revolutionary Wars, had seized neutral American merchant vessels. This had prompted the United States to appropriate funds to equip and man three frigates.  The other members of this commission were Charles Cotesworth Pinckney and Elbridge Gerry. However, when the envoys arrived in October 1797, they were kept waiting for several days, and then granted only a 15-minute meeting with French Foreign Minister Talleyrand. After this, the diplomats were met by three of Talleyrand's agents. Each refused to conduct diplomatic negotiations unless the United States paid enormous bribes, one to Talleyrand personally, and another to the Republic of France. The Americans refused to negotiate on such terms. Marshall and Pinckney returned home, while Gerry remained. This diplomatic scandal became known as the XYZ Affair, inflaming anti-French opinion in the United States. Marshall arrived in New York on June 17. His handling of the affair, as well as public resentment toward the French, made him popular with the American public. He opposed the Alien and Sedition Acts, enacted by the Federalists in response to the crisis.  In 1798, Marshall declined a Supreme Court appointment, recommending Bushrod Washington, who would later become one of Marshall's staunchest allies on the Court. In 1799, Marshall reluctantly ran for a seat in the United States House of Representatives. Although his congressional district (which included the city of Richmond) favored the Democratic-Republican Party, Marshall won the race, in part due to his conduct during the XYZ Affair and in part due to the support of Patrick Henry. His most notable speech was related to the case of Thomas Nash (alias Jonathan Robbins), whom the government had extradited to Great Britain on charges of murder. Marshall defended the government's actions, arguing that nothing in the Constitution prevents the United States from extraditing one of its citizens.  On May 7, 1800, President Adams nominated Congressman Marshall as Secretary of War. However, on May 12, Adams withdrew the nomination, instead naming him Secretary of State, as a replacement for Timothy Pickering. Confirmed by the United States Senate on May 13, Marshall took office on June 6, 1800. As Secretary of State, Marshall directed the negotiation of the Convention of 1800, which ended the Quasi-War with France and brought peace to the nation.  Elected as a delegate to the Virginia Constitutional Convention of 1829-1830, John Marshall advanced his view that the electorate should be expanded in Virginia by the provision that any white male who had served in the War of 1812 or who would serve in the militia in the future defense of the country deserved the right to vote.
Question: what happened during the Adams administration?

Answer:
Marshall accepted when President John Adams appointed him to a three-member commission to represent the United States