input: 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.

Answer this question "how long did he serve as Rep?"
output: Confirmed by the United States Senate on May 13, Marshall took office on June 6, 1800.

input: The 2005 Kenyan constitutional referendum was held on 21 November 2005. The main issue of contention in the Constitution review process was how much power should be vested in the Kenyan Presidency. In previous drafts, those who feared a concentration of power in the president added provisions for European-style power-sharing between a ceremonial President elected via universal suffrage and an executive Prime Minister elected by Parliament. The draft presented by the Attorney General Amos Wako for the referendum retained sweeping powers for the Presidency. Though Kibaki the proposal, some members of his own cabinet, mainly from the LDP wing led by Raila Odinga, allied with the main opposition party KANU to mobilize a powerful NO campaign that resulted in a majority of 58% of voters rejecting the draft. As a consequence of, and immediately after, the referendum loss, on 23 November 2005, Kibaki dismissed his entire cabinet in the middle of his administration's term, with the aim of purging all Raila-allied ministers from the cabinet. About his decision Kibaki said, "Following the results of the Referendum, it has become necessary for me, as the President of the Republic, to re-organize my Government to make it more cohesive and better able to serve the people of Kenya". The only members of the cabinet office to be spared a midterm exit were the Vice President and Minister of Home Affairs, Moody Awori, and the Attorney General whose position is constitutionally protected. A new cabinet of Kibaki loyalists, including MP's from the opposition, termed the Government of National Unity (GNU), was thereafter appointed, but some MP's who were offered ministerial positions declined to take up posts. A report by a Kenyan Commission of Inquiry, the Waki Commission, contextualises some issues. They reported that Kibaki, after agreeing to an informal Memorandum of Understanding (MoU) to create the post of Prime Minister, reneged on this pact after being elected. They cite criticism of Kibaki neglecting his pre-election agreement, leaving the public to identify it as an attempt by the Kibaki Government to "keep power to itself rather than share it."

Answer this question "What happened in 2005?"
output: The 2005 Kenyan constitutional referendum was held on 21 November 2005.

input: As time has passed, the Amish have felt pressures from the modern world. Issues such as taxation, education, law and its enforcement, and occasional discrimination and hostility are areas of difficulty. The Amish way of life in general has increasingly diverged from that of modern society. On occasion, this has resulted in sporadic discrimination and hostility from their neighbors, such as throwing of stones or other objects at Amish horse-drawn carriages on the roads. The Amish do not usually educate their children past the eighth grade, believing that the basic knowledge offered up to that point is sufficient to prepare one for the Amish lifestyle. Almost no Amish go to high school and college. In many communities, the Amish operate their own schools, which are typically one-room schoolhouses with teachers (usually young, unmarried women) from the Amish community. On May 19, 1972, Jonas Yoder and Wallace Miller of the Old Order Amish, and Adin Yutzy of the Conservative Amish Mennonite Church were each fined $5 for refusing to send their children, aged 14 and 15, to high school. In Wisconsin v. Yoder, the Wisconsin Supreme Court overturned the conviction, and the U.S. Supreme Court affirmed this, finding the benefits of universal education were not sufficient justification to overcome scrutiny under the Free Exercise Clause of the First Amendment. The Amish are subject to sales and property taxes. As they seldom own motor vehicles, they rarely have occasion to pay motor vehicle registration fees or spend money in the purchase of fuel for vehicles. Under their beliefs and traditions, generally the Amish do not agree with the idea of Social Security benefits and have a religious objection to insurance. On this basis, the United States Internal Revenue Service agreed in 1961 that they did not need to pay Social Security-related taxes. In 1965, this policy was codified into law. Self-employed individuals in certain sects do not pay into or receive benefits from the United States Social Security system. This exemption applies to a religious group that is conscientiously opposed to accepting benefits of any private or public insurance, provides a reasonable level of living for its dependent members, and has existed continuously since December 31, 1950. The U.S. Supreme Court clarified in 1982 that Amish employers are not exempt, but only those Amish individuals who are self-employed.

Answer this question "What has this caused"
output:
throwing of stones or other objects at Amish horse-drawn carriages