paragraph_text: Roswell Farnham (July 23, 1827January 5, 1903) was an American politician of the Republican Party, an officer in the Union Army during the American Civil War, a lawyer, and the 38th Governor of Vermont.

paragraph_text: North Carolina's party loyalties have undergone a series of important shifts in the last few years: While the 2010 midterms saw Tar Heel voters elect a bicameral Republican majority legislature for the first time in over a century, North Carolina has also become a Southern swing state in presidential races. Since Southern Democrat Jimmy Carter's comfortable victory in the state in 1976, the state had consistently leaned Republican in presidential elections until Democrat Barack Obama narrowly won the state in 2008. In the 1990s, Democrat Bill Clinton came within a point of winning the state in 1992 and also only narrowly lost the state in 1996. In the early 2000s, Republican George W. Bush easily won the state by over 12 points, but by 2008, demographic shifts, population growth, and increased liberalization in heavily populated areas such as the Research Triangle, Charlotte, Greensboro, Winston-Salem, Fayetteville, and Asheville, propelled Barack Obama to victory in North Carolina, the first Democrat to win the state since 1976. In 2012, North Carolina was again considered a competitive swing state, with the Democrats even holding their 2012 Democratic National Convention in Charlotte. However, Republican Mitt Romney ultimately eked out a 2-point win in North Carolina, the only 2012 swing state that Obama lost, and one of only two states (along with Indiana) to flip from Obama in 2008 to the GOP in 2012.

paragraph_text: In 1986, Arizona Governor Bruce Babbitt, a Democrat, created a paid state MLK holiday in Arizona by executive order just before he left office, but in 1987, his Republican successor Evan Mecham, citing an attorney general's opinion that Babbitt's order was illegal, reversed Babbitt's decision days after taking office. Later that year, Mecham proclaimed the third Sunday in January to be ``Martin Luther King Jr. / Civil Rights Day ''in Arizona, albeit as an unpaid holiday. In 1990, Arizona voters were given the opportunity to vote on giving state employees a paid MLK holiday. That same year, the National Football League threatened to move Super Bowl XXVII, which was planned for Arizona in 1993, if the MLK holiday was voted down. In the November election, the voters were offered two King Day options: Proposition 301, which replaced Columbus Day on the list of paid state holidays, and Proposition 302, which merged Lincoln's and Washington's birthdays into one paid holiday to make room for MLK Day. Both measures failed to pass, with only 49% of voters approving Prop 302, the more popular of the two options; although some who voted`` no'' on 302 voted ``yes ''on Prop 301. Consequently, the state lost the chance to host Super Bowl XXVII, which was subsequently held at the Rose Bowl in Pasadena, California. In a 1992 referendum, the voters, this time given only one option for a paid King Day, approved state - level recognition of the holiday.

paragraph_text: Albert Ashwood (born 1959) is American emergency management official from the State of Oklahoma. Ashwood is the current Director of the Oklahoma Department of Emergency Management (OEM). Ashwood has served as OEM Director since 1997 when he was appointed by Republican Governor of Oklahoma Frank Keating. Ashwood has since been retained by Democratic Governor Brad Henry in 2003 and Republican Governor Mary Fallin in 2011.

paragraph_text: The Democratic Party holds the majority of public offices. As of November 2008, 67% of registered voters in the city are Democrats. New York City has not been carried by a Republican in a statewide or presidential election since President Calvin Coolidge won the five boroughs in 1924. In 2012, Democrat Barack Obama became the first presidential candidate of any party to receive more than 80% of the overall vote in New York City, sweeping all five boroughs. Party platforms center on affordable housing, education, and economic development, and labor politics are of importance in the city.

paragraph_text: After the election, Moore filed a lawsuit attempting to block the state from certifying the election and calling for an investigation into voter fraud. On December 28, 2017, a judge dismissed this lawsuit and state officials certified the election results, officially declaring Doug Jones the winner. Jones was sworn into office on January 3, 2018, by Vice President Mike Pence. Jones became the first Democrat to win a statewide race in Alabama since former Lieutenant Governor Lucy Baxley was elected President of the Alabama Public Service Commission in 2008 over Republican Twinkle Andress Cavanaugh. Prior to that, Democrat Jim Folsom Jr. was elected Lieutenant Governor of Alabama in 2006 over Republican Luther Strange. The last Democrat to win a federal statewide election in Alabama was Richard Shelby in 1992, who switched to the Republican Party in late 1994.

paragraph_text: Democrats were elected to the legislature and governor's office, but the Populists attracted voters displeased with them. In 1896 a biracial, Populist-Republican Fusionist coalition gained the governor's office. The Democrats regained control of the legislature in 1896 and passed laws to impose Jim Crow and racial segregation of public facilities. Voters of North Carolina's 2nd congressional district elected a total of four African-American congressmen through these years of the late 19th century.

paragraph_text: Christopher Del Sesto (March 10, 1907 – December 23, 1973) was a United States politician and a member of the Republican Party, who served as 64th Governor of Rhode Island. When he became governor in 1958, Del Sesto was the first Republican chief executive to be chosen by Rhode Island voters in 20 years.

paragraph_text: In the early 21st century, Republican voters control most of the state, especially in the more rural and suburban areas outside of the cities; Democratic strength is mostly confined to the urban cores of the four major cities, and is particularly strong in the cities of Nashville and Memphis. The latter area includes a large African-American population. Historically, Republicans had their greatest strength in East Tennessee before the 1960s. Tennessee's 1st and 2nd congressional districts, based in the Tri-Cities and Knoxville, respectively, are among the few historically Republican districts in the South. Those districts' residents supported the Union over the Confederacy during the Civil War; they identified with the GOP after the war and have stayed with that party ever since. The 1st has been in Republican hands continuously since 1881, and Republicans (or their antecedents) have held it for all but four years since 1859. The 2nd has been held continuously by Republicans or their antecedents since 1859.

paragraph_text: In the general election on November 7, 2017, Democratic nominee Ralph Northam defeated Republican nominee Ed Gillespie, winning by the largest margin for a Democrat since 1985. Northam will become the 73rd governor of Virginia, and take office on January 13, 2018. The election had the highest voter turnout percentage in a Virginia gubernatorial election in twenty years with 47% of the state's constituency casting their ballot.

paragraph_text: The Voter Vault is a database of voters in the United States used by the Republican Party. Construction started in the 1990s, and it was first used in 2002. By 2004 it had about 168 million entries. The Democratic Party equivalent database is Demzilla.

paragraph_text: In a reversal of alignments, since the late 1960s the Republican Party has grown more prominent within the state based on an influx of primarily white voters (the majority in the state) from the Democratic Party. By the mid-1990s, it became the state's dominant political party.

paragraph_text: On September 22, 1851, Des Moines was incorporated as a city; the charter was approved by voters on October 18. In 1857, the name ``Fort Des Moines ''was shortened to`` Des Moines'', and it was designated as the second state capital, previously at Iowa City. Growth was slow during the Civil War period, but the city exploded in size and importance after a railroad link was completed in 1866.

paragraph_text: The Spanish Civil War (Spanish: Guerra Civil Española), widely known in Spain simply as The Civil War (Spanish: La Guerra Civil) or The War (Spanish: La Guerra), took place from 1936 to 1939. The Republicans, who were loyal to the democratic, left - leaning and relatively urban Second Spanish Republic, in an alliance of convenience with the Anarchists, fought against the Nationalists, a Falangist, Carlist, Catholic, and largely aristocratic conservative group led by General Francisco Franco. The war has often been portrayed as a struggle between democracy and fascism, particularly due to the political climate and timing surrounding it, but it can more accurately be described as a struggle between leftist revolution and rightist counter-revolution similar to the Finnish Civil War and the wars fought over the formation of the Hungarian and Slovak Soviet republics. Ultimately, the Nationalists won, and Franco, who already ruled over Nationalist Spain, ruled over all of Spain for the next 36 years, from April 1939 until his death in November 1975.

paragraph_text: Schwarzenegger has been a registered Republican for many years. When he was an  actor, his political views were always well known as they contrasted with those of many other prominent Hollywood stars, who are generally considered to be a liberal and Democratic-leaning community. At the 2004 Republican National Convention, Schwarzenegger gave a speech and explained he was a Republican because the Democrats of the 1960s sounded too much like Austrian socialists.

paragraph_text: After the Civil War began, Governor Zebulon Baird Vance ordered the construction of breastworks around the city as protection from Union troops. During General Sherman's Carolinas Campaign, Raleigh was captured by Union cavalry under the command of General Hugh Judson Kilpatrick on April 13, 1865. As the Confederate cavalry retreated west, the Union soldiers followed, leading to the nearby Battle of Morrisville. The city was spared significant destruction during the War, but due to the economic problems of the post-war period and Reconstruction, with a state economy based on agriculture, it grew little over the next several decades.

paragraph_text: Charles Smith Olden (February 19, 1799April 7, 1876) was an American Republican Party politician, who served as the 19th Governor of New Jersey from 1860 to 1863 during the first part of the American Civil War.

paragraph_text: Zebulon Baird Vance (May 13, 1830 – April 14, 1894) was a Confederate military officer in the American Civil War, the 37th and 43rd Governor of North Carolina, and U.S. Senator. A prolific writer, Vance became one of the most influential Southern leaders of the Civil War and postbellum periods. As a leader of the "New South", Vance favored the rapid modernization of the southern economy, railroad expansion, school construction, and reconciliation with the North.

paragraph_text: In 2002, businessman Phil Bredesen was elected as the 48th governor. Also in 2002, Tennessee amended the state constitution to allow for the establishment of a lottery. Tennessee's Bob Corker was the only freshman Republican elected to the United States Senate in the 2006 midterm elections. The state constitution was amended to reject same-sex marriage. In January 2007, Ron Ramsey became the first Republican elected as Speaker of the State Senate since Reconstruction, as a result of the realignment of the Democratic and Republican parties in the South since the late 20th century, with Republicans now elected by conservative voters, who previously had supported Democrats.

paragraph_text: From the American Civil War until the mid-20th century, Philadelphia was a bastion of the Republican Party, which arose from the staunch pro-Northern views of Philadelphia residents during and after the war (Philadelphia was chosen as the host city for the first Republican National Convention in 1856). After the Great Depression, Democratic registrations increased, but the city was not carried by Democrat Franklin D. Roosevelt in his landslide victory of 1932 (in which Pennsylvania was one of the few states won by Republican Herbert Hoover). Four years later, however, voter turnout surged and the city finally flipped to the Democrats. Roosevelt carried Philadelphia with over 60% of the vote in 1936. The city has remained loyally Democratic in every presidential election since. It is now one of the most Democratic in the country; in 2008, Democrat Barack Obama drew 83% of the city's vote. Obama's win was even greater in 2012, capturing 85% of the vote.

Question: Since what year have voters leaned Republican in the state where the Governor during the Civil War died?
Answer: 1976