Question: The gubernatorial candidate who defeated W. J. Bryan Dorn was the first candidate from what party to be elected since the 1800s?

Context paragraphs:
South Carolina gubernatorial election, 1974: The 1974 South Carolina gubernatorial election was held on November 5, 1974 to select the governor of the state of South Carolina.  James B. Edwards defeated W. J. Bryan Dorn and became the first Republican since Daniel Henry Chamberlain in 1874 to win a gubernatorial election in South Carolina.  It was also the closest gubernatorial election in South Carolina since the disputed election of 1876.

Taylor v. Beckham: Taylor v. Beckham, 178 U.S. 548 (1900) , was a case heard before the Supreme Court of the United States on April 30 and May 1, 1900, to decide the outcome of the disputed Kentucky gubernatorial election of 1899.  The litigants were Republican gubernatorial candidate William S. Taylor and Democratic lieutenant gubernatorial candidate J. C. W. Beckham.  In the November 7, 1899, election, Taylor received 193,714 votes to Democrat William Goebel's 191,331.  This result was certified by a 2–1 decision of the state's Board of Elections.  Goebel challenged the election results on the basis of alleged voting irregularities, and the Democrat-controlled Kentucky General Assembly formed a committee to investigate Goebel's claims.  Goebel was shot on January 30, 1900, one day before the General Assembly approved the committee's report declaring enough Taylor votes invalid to swing the election to Goebel.  As he lay dying of his wounds, Goebel was sworn into office on January 31, 1900.  He died on February 3, 1900, and Beckham ascended to the governorship.

Louisiana gubernatorial election, 1892: The Louisiana gubernatorial election of 1892 was held on April 19, 1892.  Like most Southern states between Reconstruction and the civil rights era, Louisiana's Republican Party was virtually nonexistent in terms of electoral support.  In addition, the Republican Party had split into two factions, each supporting a different candidate.  As Louisiana had not yet adopted party primaries, this meant that the Democratic Party convention nomination vote was supposed to be the real contest over who would be governor.  At the convention, pro-lottery former Governor Samuel D. McEnery was nominated.  As a result of the nomination of a pro-lottery candidate, a group of anti-lottery Democrats nominated their own candidate, State Senator Murphy J. Foster.  In addition to the four candidates already mentioned, the increasingly popular Populists nominated R. H. Tannehill and their candidate.  Despite all of this, Senator Foster was elected with 45% of the vote with a comfortable 19% margin between him and McEnery, who placed second.  This election marked the last time until 1979 that the official Democratic Party nominee was defeated.

Qualified New York political parties: In New York State, to qualify for automatic ballot access, a party must have received at least 50,000 votes in the previous gubernatorial election.  A party must run a gubernatorial candidate (as well as a lieutenant governor candidate, although this portion has been ignored in the past) to be eligible for automatic ballot access; if 50,000 voters vote for that candidate on their party line, they have qualified the party for the next election.  A party that is not qualified may run candidates by completing a petition process.  Parties are also allowed to cross-endorse candidates, whose votes would be accumulated under electoral fusion, but any parties must cross-endorse both the governor and lieutenant governor candidates for fusion to apply.  Parties that are already qualified must issue a Wilson Pakula if they cross-endorse someone registered in another already qualified party; there are no restrictions (other than the fact that the candidate must be eligible for office) on who can be nominated on a non-qualified ballot line, as these lines are determined by filing petitions.

William Jennings Bryan Dorn: William Jennings Bryan Dorn (April 14, 1916 – August 13, 2005), known as W. J. Bryan Dorn, was a United States politician from South Carolina who represented the western part of the state in the United States House of Representatives from 1947 to 1949 and from 1951 to 1975 as a Democrat.

Maryland gubernatorial election, 1966: The Maryland gubernatorial election of 1966 was held on November 8, 1966.  Incumbent Democratic Governor J. Millard Tawes was unable to seek a third term in office.  In the election to succeed him, George P. Mahoney, a controversial segregationist, emerged from the Democratic primary due to splintered support for the two major candidates.  Baltimore County Executive Spiro Agnew, who would later go on to be selected by Richard M. Nixon as his running mate in 1968, was nominated by the Republican Party as their gubernatorial candidate.  Mahoney and Agnew squared off, along with independent candidate Hyman A. Pressman.  Ultimately, Agnew was victorious over Mahoney, with Pressman a distant third.  This year would be the last time that the state of Maryland elected a Republican governor until 2002.

Warren Redlich: Warren Redlich (born March 8, 1966) is an Internet businessman, lawyer and politician currently based in Palm Beach County, Florida and originally from Guilderland, New York.  In 2004 and 2006, Redlich, at the time a trustee on the Guilderland town council, ran for US Congress for the 21st District of New York State as a Republican.  In 2005, he briefly served as the Political Director of the Libertarian Party of New York.  He was the Libertarian Party candidate in the New York gubernatorial election, 2010.  In that election, Redlich had collected 48,386 votes, more than any Libertarian governor candidate in the state's history and the only time any Libertarian gubernatorial candidate has even come close to automatic ballot access (50,000 votes are required for that status and no gubernatorial candidate had earned more than 25,000 votes prior to Redlich).  Currently, Redlich runs the website westbocanews.com with his wife.

James B. Edwards: James Burrows Edwards (June 24, 1927 – December 26, 2014) was an American politician and administrator from South Carolina.  He was the first Republican to be elected the Governor of South Carolina since the post-Civil War Reconstruction Era in the 1800s.

Rogelio Figueroa: Rogelio Figueroa García (born September 13, 1963 in Naguabo, Puerto Rico) is a Puerto Rican engineer and politician.  He is the president and co-founder of the Puerto Ricans for Puerto Rico (PPR) party, and served as their gubernatorial candidate for the 2008 general elections.  He was also the gubernatorial candidate for the upcoming 2012 general elections.

Franklin Ellsworth: Franklin Fowler Ellsworth (July 10, 1879 – December 23, 1942) was a Representative from Minnesota; born in St. James, Watonwan County, Minnesota, July 10, 1879; attended the grade and high schools; enlisted as a private in Company H, Twelfth Regiment, Minnesota Volunteer Infantry, during the Spanish–American War; attended the law department of the University of Minnesota at Minneapolis; was admitted to the bar in 1901 and commenced practice in St. James; city attorney of St. James in 1904 and 1905; prosecuting attorney of Watonwan County 1905–1909; elected as a Republican to the 64th, 65th, and 66th congresses (March 4, 1915 – March 3, 1921); was not a candidate for renomination in 1920, having become a gubernatorial candidate; unsuccessful candidate for Governor of Minnesota in 1920 and 1924; moved to Minneapolis, Minnesota, in 1921 and resumed the practice of his profession; died in Minneapolis, December 23, 1942; interment in Lakewood Cemetery.

Supporting paragraphs: South Carolina gubernatorial election, 1974 James B. Edwards
Answer: Republican