Question: Under which President of the United States, Isaac Wayne MacVeagh was served as the 36th Attorney General of the United States?
Context: Kevin J. O'Connor serves as general counsel at Point72 Asset Management.  Previously, he served as an attorney appointed by President George W. Bush and was unanimously confirmed by the United States Senate as Connecticut’s 48th United States Attorney in 2002.  From January to April 2006, O'Connor served as Associate Deputy Attorney General of the United States.  In 2007, O'Connor served as Chief of Staff to United States Attorney General Alberto R. Gonzales.  In 2008, O'Connor was unanimously confirmed as Associate Attorney General of the United States, the number three position at the U.S. Department of Justice (DOJ), a post he held until 2009, when he left the DOJ to join the law firm of Bracewell and Giuliani. Jefferson Beauregard Sessions III (born December 24, 1946) is an American politician and lawyer who is the 84th Attorney General of the United States, in office since 2017.  Sessions previously served as a United States Senator from Alabama from 1997 to 2017, and he is a member of the Republican Party.  From 1981 to 1993, he served as U.S. Attorney for the Southern District of Alabama.  Sessions was nominated in 1986 to be a judge of the U.S. District Court for the Southern District of Alabama, but his contentious nomination failed.  Sessions was elected Attorney General of Alabama in 1994, and to the U.S. Senate in 1996, being re-elected in 2002, 2008, and 2014.  During his time in Congress, Sessions was considered one of the most conservative members of the U.S. Senate. Isaac Wayne MacVeagh (April 19, 1833January 11, 1917) was an American lawyer, politician and diplomat.  He served as the 36th Attorney General of the United States under the administrations of Presidents James A. Garfield and Chester A. Arthur. Captain Isaac Wayne (1699–1774) was a Pennsylvania tanner and father of American Revolutionary War General "Mad" Anthony Wayne and grandfather of United States Congressman Isaac Wayne. William Pelham Barr (born May 23, 1950) is an American attorney who served as the 77th Attorney General of the United States.  As a member of the Republican Party, Barr served as Attorney General from 1991 to 1993 during the administration of President George H. W. Bush. The Attorney General of North Carolina is the elected head of the state's Department of Justice.  The North Carolina constitution, in Article III Section 7, provides for the election of the Attorney General.  http://www.ncga.state.nc.us/Legislation/constitution/article3.html By statute, Attorney General's duties include providing legal representation and advice to all state agencies.  The parameters of that duty have been the subject of some debate, when, for example, United States Attorney General Eric Holder suggested that state Attorneys General should not squander their state's resources in defense of laws they know to be unconstitutional.  By statute, in defense of the public interest, the Attorney General may initiate legal action or intervene in proceedings before any courts, regulatory officers, agencies or bodies — either state or federal — on behalf of the state's agencies and citizens.  http://www.ncga.state.nc.us/EnactedLegislation/Statutes/PDF/ByChapter/Chapter_114.pdf The Attorney General also renders legal opinions, either formally or informally, upon all questions of law submitted by the General Assembly, the Governor or any other state officer.  Attorney General opinions may be viewed online.  http://www.ncdoj.gov/About-DOJ/Legal-Services/Legal-Opinions.aspx Frank Joseph Kelley (born December 31, 1924), was the 50th Attorney General of the U.S. state of Michigan.  His 37-year term of office, from 1961 to 1999, made him both the youngest (36 years old) and oldest (74 years old) Attorney General in the state's history, and led to his nickname as the "Eternal General."  He is the longest serving state attorney general in U.S. history. Kenneth Thomas Cuccinelli II ( ; born July 30, 1968) is an American politician and lawyer who served as the 46th attorney general of Virginia from 2010 until 2014.  Cuccinelli was the Republican nominee for Governor of Virginia in the 2013 Virginia gubernatorial election.  He was elected as Virginia's 46th attorney general in the November 2009 general election.  He was elected to two terms in the Virginia Senate, representing the 37th District in Fairfax County from 2002 until he took office as attorney general in 2010.  He holds degrees in engineering, law and commercial policy, and co-founded a law firm. Steve Marshall (born October 26, 1964) is the 48th Attorney General of Alabama, after being appointed by governor Robert J. Bentley to fill the vacancy caused by previous attorney general Luther Strange's appointment to the United States Senate.  Prior to his role as attorney general, Marshall served as Marshall County district attorney for 16 years. James Abram Garfield (November 19, 1831 – September 19, 1881) was the 20th President of the United States, serving from March 4, 1881, until his assassination later that year.  Garfield had served nine terms in the House of Representatives, and had been elected to the Senate before his candidacy for the White House, though he declined the Senate seat once he was elected President.  He is the only sitting House member to be elected president.
Answer: 20th President of the United States