Question: In what year did voters from the state where John Kerry's VP choice was a senator once again vote for someone from the party that dominated South Carolina's state legislature?

full_context: Document 1: 2004 United States presidential election: On July 6, John Kerry selected John Edwards as his running mate, shortly before the 2004 Democratic National Convention in Boston, held later that month. Days before Kerry announced Edwards as his running mate, Kerry gave a short list of three candidates: Sen John Edwards, Rep Dick Gephardt, and Gov Tom Vilsack. Heading into the convention, the Kerry/Edwards ticket unveiled their new slogan—a promise to make America "stronger at home and more respected in the world." Kerry made his Vietnam War experience the prominent theme of the convention. In accepting the nomination, he began his speech with, "I'm John Kerry and I'm reporting for duty." He later delivered what may have been the speech's most memorable line when he said, "the future doesn't belong to fear, it belongs to freedom", a quote that later appeared in a Kerry/Edwards television advertisement.
Document 2: 2004 United States presidential election: On March 10, 2004, Bush officially clinched the number of delegates needed to be nominated at the 2004 Republican National Convention in New York City. Bush accepted the nomination on September 2, 2004, and selected Vice President Dick Cheney as his running mate. (In New York, the ticket was also on the ballot as candidates of the Conservative Party of New York State.) During the convention and throughout the campaign, Bush focused on two themes: defending America against terrorism and building an ownership society. The ownership society included allowing people to invest some of their Social Security in the stock market, increasing home and stock ownership, and encouraging more people to buy their own health insurance.
Document 3: 2004 United States presidential election: In sheer numbers, Kerry had fewer endorsements than Howard Dean, who was far ahead in the superdelegate race going into the Iowa caucuses in January 2004, although Kerry led the endorsement race in Iowa, New Hampshire, Arizona, South Carolina, New Mexico and Nevada. Kerry's main perceived weakness was in his neighboring state of New Hampshire and nearly all national polls. Most other states did not have updated polling numbers to give an accurate placing for the Kerry campaign before Iowa. Heading into the primaries, Kerry's campaign was largely seen as in trouble, particularly after he fired campaign manager Jim Jordan. The key factors enabling it to survive were when fellow Massachusetts Senator Ted Kennedy assigned Mary Beth Cahill to be the campaign manager, as well as Kerry's mortgaging his own home to lend the money to his campaign (while his wife was a billionaire, campaign finance rules prohibited using one's personal fortune). He also brought on the "magical" Michael Whouley who would be credited with helping bring home the Iowa victory the same as he did in New Hampshire for Al Gore in 2000 against Bill Bradley.
Document 4: Charleston, South Carolina: Investment in the city continued. The William Enston Home, a planned community for the city's aged and infirm, was built in 1889. An elaborate public building, the United States Post Office and Courthouse, was completed by the federal government in 1896 in the heart of the city. The Democrat-dominated state legislature passed a new constitution in 1895 that disfranchised blacks, effectively excluding them entirely from the political process, a second-class status that was maintained for more than six decades in a state that was majority black until about 1930.
Document 5: North Carolina: 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.
Document 6: Charleston, South Carolina: After the defeat of the Confederacy, federal forces remained in Charleston during the city's reconstruction. The war had shattered the prosperity of the antebellum city. Freed slaves were faced with poverty and discrimination, but a large community of free people of color had been well-established in the city before the war and became the leaders of the postwar Republican Party and its legislators. Men who had been free people of color before the war comprised 26% of those elected to state and federal office in South Carolina from 1868 to 1876.
Document 7: North Carolina: In 2012, the state elected a Republican Governor (Pat McCrory) and Lieutenant Governor (Dan Forest) for the first time in more than two decades, while also giving the Republicans veto-proof majorities in both the State House of Representatives and the State Senate. Several U.S. House of Representatives seats also flipped control, with the Republicans holding nine seats to the Democrats' four. In the 2014 mid-term elections, Republican David Rouzer won the state's Seventh Congressional District seat, increasing the congressional delegation party split to 10-3 in favor of the GOP.
Document 8: Charleston, South Carolina: In Charleston, the African American population increased as freedmen moved from rural areas to the major city: from 17,000 in 1860 to over 27,000 in 1880. Historian Eric Foner noted that blacks were glad to be relieved of the many regulations of slavery and to operate outside of white surveillance. Among other changes, most blacks quickly left the Southern Baptist Church, setting up their own black Baptist congregations or joining new African Methodist Episcopal Church and AME Zion churches, both independent black denominations first established in the North. Freedmen "acquired dogs, guns, and liquor (all barred to them under slavery), and refused to yield the sidewalks to whites".
Document 9: 2004 United States presidential election: The following week, John Edwards won the South Carolina primary and finished a strong second in Oklahoma to Clark. Lieberman dropped out of the campaign the following day. Kerry dominated throughout February and his support quickly snowballed as he won caucuses and primaries, taking in a string of wins in Michigan, Washington, Maine, Tennessee, Washington, D.C., Nevada, Wisconsin, Utah, Hawaii, and Idaho. Clark and Dean dropped out during this time, leaving Edwards as the only real threat to Kerry. Kucinich and Sharpton continued to run despite poor results at the polls.
Document 10: 2004 United States presidential election: Bush focused his campaign on national security, presenting himself as a decisive leader and contrasted Kerry as a "flip-flopper." This strategy was designed to convey to American voters the idea that Bush could be trusted to be tough on terrorism while Kerry would be "uncertain in the face of danger." Bush (just as his father did with Dukakis in the 1988 election) also sought to portray Kerry as a "Massachusetts liberal" who was out of touch with mainstream Americans. One of Kerry's slogans was "Stronger at home, respected in the world." This advanced the suggestion that Kerry would pay more attention to domestic concerns; it also encapsulated Kerry's contention that Bush had alienated American allies by his foreign policy.
Document 11: 2004 United States presidential election: In March's Super Tuesday, Kerry won decisive victories in the California, Connecticut, Georgia, Maryland, Massachusetts, New York, Ohio, and Rhode Island primaries and the Minnesota caucuses. Dean, despite having withdrawn from the race two weeks earlier, won his home state of Vermont. Edwards finished only slightly behind Kerry in Georgia, but, failing to win a single state other than South Carolina, chose to withdraw from the presidential race. Sharpton followed suit a couple weeks later. Kuninch did not leave the race officially until July.
Document 12: John Kerry: During his bid to be elected president in 2004, Kerry frequently criticized President George W. Bush for the Iraq War. While Kerry had initially voted in support of authorizing President Bush to use force in dealing with Saddam Hussein, he voted against an $87 billion supplemental appropriations bill to pay for the subsequent war. His statement on March 16, 2004, "I actually did vote for the $87 billion before I voted against it," helped the Bush campaign to paint him as a flip-flopper and has been cited as contributing to Kerry's defeat.
Document 13: 2016 United States presidential election in North Carolina: The 2016 United States presidential election in North Carolina was won by Republican nominee Donald Trump on November 8, 2016, as part of the 2016 general election. North Carolina voters chose 15 electors to represent them in the Electoral College via a popular vote.
Document 14: North Carolina: In 1899 the state legislature passed a new constitution, with requirements for poll taxes and literacy tests for voter registration which disfranchised most black Americans in the state. Exclusion from voting had wide effects: it meant that black Americans could not serve on juries or in any local office. After a decade of white supremacy, many people forgot that North Carolina had ever had thriving middle-class black Americans. Black citizens had no political voice in the state until after the federal Civil Rights Act of 1964 and Voting Rights Act of 1965 were passed to enforce their constitutional rights. It was not until 1992 that another African American was elected as a US Representative from North Carolina.
Document 15: John Kerry: In the 2004 Democratic presidential primaries, John Kerry defeated several Democratic rivals, including Sen. John Edwards (D-North Carolina.), former Vermont Governor Howard Dean and retired Army General Wesley Clark. His victory in the Iowa caucuses is widely believed to be the tipping point where Kerry revived his sagging campaign in New Hampshire and the February 3, 2004, primary states like Arizona, South Carolina and New Mexico. Kerry then went on to win landslide victories in Nevada and Wisconsin. Kerry thus won the Democratic nomination to run for President of the United States against incumbent George W. Bush. On July 6, 2004, he announced his selection of John Edwards as his running mate. Democratic strategist Bob Shrum, who was Kerry's 2004 campaign adviser, wrote an article in Time magazine claiming that after the election, Kerry had said that he wished he'd never picked Edwards, and that the two have since stopped speaking to each other. In a subsequent appearance on ABC's This Week, Kerry refused to respond to Shrum's allegation, calling it a "ridiculous waste of time."
ground_truth: 2008
sub_queries: Who did John Kerry choose to be by his side as the potential Vice President? Answer: John Edwards
Where was John Edwards a senator? Answer: North Carolina
Which party dominated South Carolina's state legislature? Answer: Democrat
What year did North Carolina voters once again vote for a #3 ? Answer: 2008