Question: Who signed the Enforcement Act of 1871 and served as Commaning General of the US Army at the end of the American Civil War?

full_context: Document 1: Second Enforcement Act of 1871: The Enforcement Act of 1871 (17 Stat. 13 ), also known as the Civil Rights Act of 1871, Force Act of 1871, Ku Klux Klan Act, Third Enforcement Act, or Third Ku Klux Klan Act, is an Act of the United States Congress which empowered the President to suspend the writ of habeas corpus to combat the Ku Klux Klan (KKK) and other white supremacy organizations. The act was passed by the 42nd United States Congress and signed into law by President Ulysses S. Grant on April 20, 1871. The act was the last of three Enforcement Acts passed by the United States Congress from 1870 to 1871 during the Reconstruction Era to combat attacks upon the suffrage rights of African Americans. The statute has been subject to only minor changes since then, but has been the subject of voluminous interpretation by courts.
Document 2: Voting Rights Act of 1965: The Voting Rights Act of 1965 is a landmark piece of federal legislation in the United States that prohibits racial discrimination in voting. It was signed into law by President Lyndon B. Johnson during the height of the Civil Rights Movement on August 6, 1965, and Congress later amended the Act five times to expand its protections. Designed to enforce the voting rights guaranteed by the Fourteenth and Fifteenth Amendments to the United States Constitution, the Act secured voting rights for racial minorities throughout the country, especially in the South. According to the U.S. Department of Justice, the Act is considered to be the most effective piece of federal civil rights legislation ever enacted in the country.
Document 3: Abraham Lincoln: Abraham Lincoln ( ; February 12, 1809 – April 15, 1865) was an American politician and lawyer who served as the 16th President of the United States from March 1861 until his assassination in April 1865. Lincoln led the United States through its Civil War—its bloodiest war and perhaps its greatest moral, constitutional, and political crisis. In doing so, he preserved the Union, paved the way to the abolition of slavery, strengthened the federal government, and modernized the economy.
Document 4: Civil Rights Act of 1968: The Civil Rights Act of 1968, (Pub.L. 90–284 , 82 Stat. 73 , enacted  11, 1968 ), also known as the Fair Housing Act, is a landmark part of legislation in the United States that provided for equal housing opportunities regardless of race, religion, or national origin and made it a federal crime to “by force or by threat of force, injure, intimidate, or interfere with anyone … by reason of their race, color, religion, or national origin.” The Act was signed into law during the King assassination riots by President Lyndon B. Johnson, who had previously signed the Civil Rights Act and Voting Rights Act into law.
Document 5: Jesse Root Grant: Jesse Root Grant  (January 23, 1794 – June 29, 1873) was a farmer, tanner and successful leather merchant who owned tanneries and leather goods shops in several different states throughout his adult life. He is best known as the father of Ulysses S. Grant and the one who introduced Ulysses to military life at West Point. Jesse was born in Greensburg, Pennsylvania and was one of seven children. He was a self made man who rose from poverty to become a somewhat wealthy merchant. At age five, Jesse's family moved to Ohio and settled in the . Unable to support all his children Jesse's father arranged for his apprenticeship at farms and tanneries during his youth. Jesse married Hannah Simpson and they became the parents of three boys and three girls, with Ulysses being their oldest. Raised in a poor family that was forced to split up and having to work at an early age, Jesse persistently encouraged his sons in the ways of education, industry and hard work, his methods sometimes testing his father-son relationship with Ulysses. As a young man he worked for and came to know Owen Brown and soon acquired strong abolitionist sympathies. Originally a Jacksonian, Jesse eventually broke with the Democrats as he developed anti-slavery leanings, and for a time wrote a number of controversial editorials in support of abolition and about other issues, including Ulysses at Shiloh. He became involved in local politics and was elected Mayor in Georgetown and later, Bethel, both in Ohio. During the American Civil War Jesse and his two partners became involved in cotton speculation and personally prevailed upon his son Ulysses, now a Commanding General, requesting permits to deal in cotton in Grant's district, causing serious complications. Soon after the war Jesse stood next to his son Ulysses while he was sworn in as President, thereafter becoming a frequent visitor to the White House, while living out his final years in Covington, Kentucky. Much has been learned about the earlier years of his son Ulysses from letters between the two and other material relating to Jesse's background and business.
Document 6: Second Enforcement Act of 1871: The Enforcement Act of 1871 (17 Stat. 13 ), also known as the Civil Rights Act of 1871, Force Act of 1871, Ku Klux Klan Act, Third Enforcement Act, or Third Ku Klux Klan Act, is an Act of the United States Congress which empowered the President to suspend the writ of habeas corpus to combat the Ku Klux Klan (KKK) and other white supremacy organizations. The act was passed by the 42nd United States Congress and signed into law by President Ulysses S. Grant on April 20, 1871. The act was the last of three Enforcement Acts passed by the United States Congress from 1870 to 1871 during the Reconstruction Era to combat attacks upon the suffrage rights of African Americans. The statute has been subject to only minor changes since then, but has been the subject of voluminous interpretation by courts.
Document 7: Chester A. Arthur: Chester Alan Arthur (October 5, 1829 – November 18, 1886) was an American attorney and politician who served as the 21st President of the United States (1881–85); he succeeded James A. Garfield upon the latter's assassination. At the outset, Arthur struggled to overcome a slightly negative reputation, which stemmed from his early career in politics as part of New York's Republican political machine. He succeeded by embracing the cause of civil service reform. His advocacy for, and subsequent enforcement of, the Pendleton Civil Service Reform Act was the centerpiece of his administration.
Document 8: Ulysses S. Grant: Ulysses S. Grant, born Hiram Ulysses Grant , (April 27, 1822 – July 23, 1885) was the Commanding General of the United States Army at the end of the American Civil War and later the 18th President of the United States from 1869 to 1877. As Commanding General, Grant worked closely with President Abraham Lincoln to lead the Union Army to victory over the Confederacy in the Civil War. Supported by Congress, Grant implemented Reconstruction, often at odds with President Andrew Johnson. Twice elected president, Grant led the Republicans in their effort to remove the vestiges of Confederate nationalism and slavery, protect African-American citizenship, and support economic prosperity. Although his presidency has often been criticized for multiple administration scandals and for his failure to alleviate the economic depression following the Panic of 1873, he is regarded as a President who performed relatively well in the context of his time and pursued justice for all.
Document 9: Post-presidency of Ulysses S. Grant: After his second term in office ended in 1877, Ulysses S. Grant began his post-presidential life with a two-year tour that took him and his wife and entourage around the world. On returning, Grant was welcomed home with an adoration unknown since the end of the Civil War, and he began to consider running for a third term as president in 1880. Following a hard-fought defeat at the Republican National Convention that year, Grant embarked on a financial career in partnership with Ferdinand Ward, but the venture failed and Grant was nearly bankrupted. Diagnosed with cancer in 1884, he began writing his memoirs as a way to tell his story and provide for his family after his death. The book, finished just before his death the following year, was a huge success and remains in print. Grant was interred in Grant's Tomb, a massive mausoleum in New York City.
Document 10: History of the Patriot Act: The history of the USA PATRIOT Act involved many parties who opposed and supported the legislation, which was proposed, enacted and signed into law 45 days after the September 11 terrorist attacks in 2001. The USA PATRIOT Act, though approved by large majorities in the U.S. Senate and House of Representative, was controversial, and parts of the law were invalidated or modified by successful legal challenges over constitutional infringements to civil liberties. The Act had several sunset provisions, most reauthorized by the "USA PATRIOT Improvement and Reauthorization Act of 2005" and the "USA PATRIOT Act Additional Reauthorizing Amendments Act." Both reauthorizations incorporated amendments to the original USA PATRIOT Act, and other federal laws.
Document 11: Presidencies of Grover Cleveland: The presidencies of Grover Cleveland lasted from March 4, 1885 to March 4, 1889, and from March 4, 1893 to March 4, 1897. The first Democrat elected after the Civil War, Grover Cleveland is the only President of the United States to leave office after one term and later return for a second term. His presidencies were the nation's 22nd and 24th. Cleveland defeated James G. Blaine of Maine in 1884, lost to Benjamin Harrison of Indiana in 1888, and then defeated President Harrison in 1892.
Document 12: Civil Rights Cases: The Civil Rights Cases, 109 US 3 (1883) were a group of five US Supreme Court constitutional law cases. Against the famous dissent of Justice Harlan, a majority held the Civil Rights Act of 1875 was unconstitutional, because Congress lacked authority to regulate private affairs under the Fourteenth Amendment, and that the Thirteenth Amendment "merely abolishes slavery". The Civil Rights Act of 1875 had banned race discrimination in access to services offered to the public. The decision was effectively reversed in the jurisprudence of the Supreme Court from 1937, and finally by legislation under the Civil Rights Act of 1964.
Document 13: Andrew Jackson: Andrew Jackson (March 15, 1767 – June 8, 1845) was an American soldier and statesman who served as the seventh President of the United States from 1829 to 1837. Before being elected to the presidency, Jackson gained fame as a general in the United States Army and served in both houses of Congress. As president, Jackson sought to advance the rights of the "common man" against a "corrupt aristocracy" and to preserve the Union.
Document 14: Jacob Dolson Cox: Jacob Dolson Cox, (Jr.) (October 27, 1828August 4, 1900) was a statesman, lawyer, Union Army general during the American Civil War, and later a Republican politician from Ohio. He served as the 28th Governor of Ohio and as United States Secretary of the Interior. As Governor of Ohio, Cox sided for a time with President Andrew Johnson's Reconstruction plan and was against African American suffrage in the South, though he supported it in Ohio. Seeing himself caught between Johnson and the Radical Republicans, Cox decided not to run for reelection. He stayed out of politics for a year, though both Sherman and Grant advocated that Cox replace Stanton as Secretary of War as a means of stemming the demands for Johnson's impeachment. But Johnson declined. When Ulysses S. Grant became President he nominated Cox Secretary of Interior and Cox immediately accepted. Secretary of Interior Cox implemented the first civil service reform in a federal government department, including examinations for most clerks. Grant initially supported Cox and civil service reform, creating America's first Civil Service Commission. However, Cox was opposed by Republican Party managers, who ultimately convinced Grant to cease civil service reforms. President Grant and Secretary Cox were at odds over the fraudulent McGarahan Claims and the Dominican Republic annexation treaty. Secretary Cox advocated a lasting, honest, and comprehensive Indian policy legislated by Congress after the Piegan Indian massacre. Cox resigned as Secretary of Interior having been unable to gain Grant's support over civil service reform. Although Cox was a reformer, Grant had believed Cox had overstepped his authority as Secretary of Interior and had undermined his authority as President. In 1872 Cox joined the Liberal Republicans in opposition to Grant's renomination. In 1876 Cox returned to politics and was elected to and served one term as United States Congressman of Ohio. Congressman Cox supported President Hayes's reform efforts, but his term as Congressman was unsuccessful at establishing permanent Civil Service reform. Cox retired and did not return to active politics, using his time to write several books on Civil War campaigns which remain today respected histories and memoirs.
Document 15: Chase Court: The Chase Court refers to the Supreme Court of the United States from 1864 to 1873, when Salmon P. Chase served as the sixth Chief Justice of the United States. Chase succeeded Roger Taney as Chief Justice after the latter's death. Chase served as Chief Justice until his death, at which point Morrison Waite was nominated and confirmed as Chase's successor. The Chase Court presided over the end of the Civil War and much of the Reconstruction Era. During the Chase Court, Congress passed the Habeas Corpus Act 1867, giving the court the ability to issue writs of habeas corpus for defendants tried by state courts. The Chase Court interpreted the Fourteenth Amendent for the first time, and its narrow reading of the Amendment would be adopted by subsequent courts.
ground_truth: Ulysses S. Grant