A voting machine in Pennsylvania has been captured on video appearing to turn a vote for Barack Obama into one for Mitt Romney.

A video posted to YouTube on Tuesday by the user 'centralpavoter' shows a finger pressing the button to cast a vote for the president, only for it to try and register a vote for his Republican challenger.

NBC News has confirmed that the machine has since been taken out of service. The user who posted the video said that they were happy to provide the raw footage to prove it was real.

The user explained what happened: "My wife and I went to the voting booths this morning before work.

"There were 4 older ladies running the show and 3 voting booths that are similar to a science fair project in how they fold up. They had an oval VOTE logo on top center and a cartridge slot on the left that the volunteers used to start your ballot.

"I initially selected Obama but Romney was highlighted. I assumed it was being picky so I deselected Romney and tried Obama again, this time more carefully, and still got Romney. Being a software developer, I immediately went into troubleshoot mode.

"I first thought the calibration was off and tried selecting Jill Stein to actually highlight Obama. Nope. Jill Stein was selected just fine. Next I deselected her and started at the top of Romney's name and started tapping very closely together to find the 'active areas'.

"From the top of Romney's button down to the bottom of the black checkbox beside Obama's name was all active for Romney. From the bottom of that same checkbox to the bottom of the Obama button (basically a small white sliver) is what let me choose Obama. Stein's button was fine. All other buttons worked fine.

"I asked the voters on either side of me if they had any problems and they reported they did not. I then called over a volunteer to have a look at it. She him hawed for a bit then calmly said 'It's nothing to worry about, everything will be OK.' and went back to what she was doing. I then recorded this video."

Related on HuffPost:

Loading Slideshow...
  • Mitt Romney, Ann Romney

    Republican presidential candidate, former Massachusetts Gov. Mitt Romney kisses wife Ann Romney after they voted in Belmont, Mass., Tuesday, Nov. 6, 2012.(AP Photo/Charles Dharapak)

  • Mitt Romney, Ann Romney

    Republican presidential candidate, former Massachusetts Gov. Mitt Romney and wife Ann Romney vote in Belmont, Mass., Tuesday, Nov. 6, 2012. (AP Photo/Charles Dharapak)

  • Mitt Romney, Ann Romney

    Republican presidential candidate, former Massachusetts Gov. Mitt Romney and wife Ann Romney arrive to vote in Belmont, Mass., Tuesday, Nov. 6, 2012.(AP Photo/Charles Dharapak)

  • Mitt Romney

    Republican presidential candidate, former Massachusetts Gov. Mitt Romney and his wife Ann Romney emerge after they voted in Belmont, Mass., Tuesday, Nov. 6, 2012. (AP Photo/Charles Dharapak)

  • Mitt Romney

    Republican presidential candidate, former Massachusetts Gov. Mitt Romney waves as he arrives at a polling station to vote in Belmont, Mass., Tuesday, Nov. 6, 2012. (AP Photo/Charles Dharapak)

  • Mitt Romney, Ann Romney

    Republican presidential candidate, former Massachusetts Gov. Mitt Romney, and his wife Ann Romney vote at a polling station in Belmont, Mass., Tuesday, Nov. 6, 2012. (AP Photo/Charles Dharapak)

  • Joe Biden

    Vice President Joe Biden exits a voting booth after casting his ballot at Alexis I. duPont High School, Tuesday, Nov. 6, 2012, in Greenville, Del. (AP Photo/Matt Rourke)

  • Joe Biden

    Vice President Joe Biden waves as he exits a voting booth after casting his ballot at Alexis I. duPont High School, Tuesday, Nov. 6, 2012, in Greenville, Del. (AP Photo/Matt Rourke)

  • Joe Biden

    Vice President Joe Biden exits a voting booth after casting his ballot at Alexis I. duPont High School, Tuesday, Nov. 6, 2012, in Greenville, Del. (AP Photo/Matt Rourke)

  • A person walks through a makeshift shelter in a gymnasium at Toms River East High School as they arrive to vote Tuesday, Nov. 6, 2012, in Toms River, N.J. N.J. Voter turnout was heavy in several storm-ravaged Jersey Shore towns, with many voters expressing relief and even elation at being able to vote at all, considering the devastation. (AP Photo/Mel Evans)

  • Don Dunkelburger

    Don Dunkelburger, of Seaside Heights, N.J., takes a smoke break outside a shelter and polling station at Toms River East High School Tuesday, Nov. 6, 2012. Dunkelburger, who lost his home and was staying in the shelter, said he was not clear on where he was supposed to vote Tuesday. (AP Photo/Mel Evans)

  • Snow surrounds the polling precinct in Terra Alta, W.Va., as Peter Hough heads to work after casting his ballot on Election Day, Tuesday, Nov. 6, 2012. (AP Photo/Dave Martin)

  • A person walks through a makeshift shelter in a gymnasium at Toms River East High School as they arrive to vote Tuesday, Nov. 6, 2012, in Toms River, N.J. (AP Photo/Mel Evans)

  • Voters wait in line to cast their ballots at the Mauldin Fire Station on Election Day, Tuesday, Nov. 6, 2012, in Mauldin, S.C. (AP Photo/Rainier Ehrhardt)

  • Voters fill out their ballots under a tent at a consolidated polling station for residents of the Rockaways on election day, Tuesday, Nov. 6, 2012, in the Queens borough of New York. Election Day turnout was heavy in several storm-ravaged areas in New York and New Jersey, with many voters expressing relief and even elation at being able to vote at all, considering the devastation. (AP Photo/Jason DeCrow)

  • Voters wait in line to cast their ballots at the Mauldin Fire Station on Election Day, Tuesday, Nov. 6, 2012, in Mauldin, S.C. (AP Photo/Rainier Ehrhardt)

  • Voters cast their ballots whils others wait in line at the Mauldin Fire Station on Election Day, Tuesday, Nov. 6, 2012, in Mauldin, S.C. (AP Photo/Rainier Ehrhardt)

  • Joe Biden

    Vice President Joe Biden exits with his wife Jill Biden after voting at Alexis I. duPont High School, Tuesday, Nov. 6, 2012, in Greenville, Del. (AP Photo/Matt Rourke)

  • Joe Biden

    Vice President Joe Biden speaks with members of the media after voting at Alexis I. duPont High School, Tuesday, Nov. 6, 2012, in Greenville, Del. (AP Photo/Matt Rourke)

  • Election workers help a voter, right, finalize his affidavit ballot at a consolidated polling station for residents of the Rockaways on Election Day, Tuesday, Nov. 6, 2012, in the Queens borough of New York. Election Day turnout was heavy in several storm-ravaged areas in New York and New Jersey, with many voters expressing relief and even elation at being able to vote at all, considering the devastation. (AP Photo/Jason DeCrow)

  • James Ventresca, left, and Claudia Welch fill out their ballots at Town Hall on Election Day, Tuesday, Nov. 6, 2012 in Calais, Vt. (AP Photo/Toby Talbot)

  • Victoria Collwell

    Election Judge Victoria Collwell places a "vote here" sign in the ground in front of the Argusville Firehall Community Center in rural Cass County just before the polls open on Election Day in Argusville, N.D, Tuesday, Nov. 6, 2012. (AP Photo/LM Otero)

  • Joe Biden

    Vice President Joe Biden steps into a voting booth to cast his ballot at Alexis I. duPont High School, Tuesday, Nov. 6, 2012, in Greenville, Del. (AP Photo/Matt Rourke)

  • Scott Brown

    U.S. Sen. Scott Brown, R-Mass., picks up his ballot with his daughter Arianna, left, to cast his vote in Wrentham, Mass., on Election Day, Tuesday, Nov. 6, 2012. Brown is facing Democratic candidate Elizabeth Warren for the U.S. Senate. (AP Photo/Gretchen Ertl)

  • Voters check in before casting their ballots under a tent at a consolidated polling station for residents of the Rockaways on Election Day, Tuesday, Nov. 6, 2012, in the Queens borough of New York. Election Day turnout was heavy in several storm-ravaged areas in New York and New Jersey, with many voters expressing relief and even elation at being able to vote at all, considering the devastation. (AP Photo/Jason DeCrow)

  • Voters line up before dawn at the Washington Mill Elementary School near Mount Vernon in Fairfax County, Va., Tuesday, Nov. 6, 2012. Fairfax County is a Washington suburb and is the biggest battleground in Virginia, which is a key swing state in Tuesday's presidential and senator election. (AP Photo/J. Scott Applewhite)

  • Election workers help a voter, right, finalize his affidavit ballot at a consolidated polling station for residents of the Rockaways on Election Day, Tuesday, Nov. 6, 2012, in the Queens borough of New York. Election Day turnout was heavy in several storm-ravaged areas in New York and New Jersey, with many voters expressing relief and even elation at being able to vote at all, considering the devastation. (AP Photo/Jason DeCrow)

  • US-VOTE-2012-ELECTION DAY

    Voters wait outside the Metropolitan AME Church polling station to cast their ballots in Washington, DC on November 6, 2012. Americans headed to the polls Tuesday after a burst of last-minute campaigning by President Barack Obama and Mitt Romney in a nail-biting contest unlikely to heal a deeply polarized nation. AFP PHOTO/Mladen ANTONOV (Photo credit should read MLADEN ANTONOV/AFP/Getty Images)

  • U.S. Citizens Head To The Polls To Vote In Presidential Election

    MANCHESTER, NH - NOVEMBER 6: Tom Hoisington (R) raises his right hand along with grandson Tonykus Hebert, 6, after being registered to vote at the Bishop Leo O'Neil Youth Center on November 6, 2012 in Manchester, New Hampshire. The swing state of New Hampshire is recognised to be a hotly contested battleground that offers 4 electoral votes, as recent polls predict that the race between U.S. President Barack Obama and Republican presidential candidate Mitt Romney remains tight. (Photo by Darren McCollester/Getty Images)

  • U.S. Citizens Head To The Polls To Vote In Presidential Election

    ALEXANDRIA, VA - NOVEMBER 06: People wait inside Washington Mill Elementary School to cast their vote in the U.S. presidential race, on November 6, 2012, in Alexandria, Virginia. Recent polls show that U.S. President Barack Obama and Republican presidential candidate Mitt Romney are in a tight race. (Photo by Patrick Smith/Getty Images)

  • U.S. Citizens Head To The Polls To Vote In Presidential Election

    ALEXANDRIA, VA - NOVEMBER 06: People wait inside Washington Mill Elementary School to cast their vote in the U.S. presidential race, on November 6, 2012, in Alexandria, Virginia. Recent polls show that U.S. President Barack Obama and Republican presidential candidate Mitt Romney are in a tight race. (Photo by Patrick Smith/Getty Images)

  • U.S. Citizens Head To The Polls To Vote In Presidential Election

    ALEXANDRIA, VA - NOVEMBER 06: People wait inside Washington Mill Elementary School to cast their vote in the U.S. presidential race, on November 6, 2012, in Alexandria, Virginia. Recent polls show that U.S. President Barack Obama and Republican presidential candidate Mitt Romney are in a tight race. (Photo by Patrick Smith/Getty Images)

  • U.S. Citizens Head To The Polls To Vote In Presidential Election

    MANCHESTER, NH - NOVEMBER 6: Voters cast their ballots at the Bishop Leo O'Neil Youth Center on November 6, 2012 in Manchester, New Hampshire. The swing state of New Hampshire is recognised to be a hotly contested battleground that offers 4 electoral votes, as recent polls predict that the race between U.S. President Barack Obama and Republican presidential candidate Mitt Romney remains tight. (Photo by Darren McCollester/Getty Images)

  • U.S. Citizens Head To The Polls To Vote In Presidential Election

    MANCHESTER, NH - NOVEMBER 6: Voters cast their ballots at the Bishop Leo O'Neil Youth Center on November 6, 2012 in Manchester, New Hampshire. The swing state of New Hampshire is recognised to be a hotly contested battleground that offers 4 electoral votes, as recent polls predict that the race between U.S. President Barack Obama and Republican presidential candidate Mitt Romney remains tight. (Photo by Darren McCollester/Getty Images)

  • U.S. Citizens Head To The Polls To Vote In Presidential Election

    MANCHESTER, NH - NOVEMBER 6: Voters cast their ballots at the Bishop Leo O'Neil Youth Center on November 6, 2012 in Manchester, New Hampshire. The swing state of New Hampshire is recognised to be a hotly contested battleground that offers 4 electoral votes, as recent polls predict that the race between U.S. President Barack Obama and Republican presidential candidate Mitt Romney remains tight. (Photo by Darren McCollester/Getty Images)

  • U.S. Citizens Head To The Polls To Vote In Presidential Election

    STERLING HEIGHTS, MI, - NOVEMBER 6: A young boy reads a book while his parent votes in the U.S. presidential election at Carleton Middle School November 6, 2012 in Sterling Heights, Michigan. Recent polls show that U.S. President Barack Obama and Republican presidential candidate Mitt Romney are in a tight race. (Photo by Bill Pugliano/Getty Images)

  • U.S. Citizens Head To The Polls To Vote In Presidential Election

    MANCHESTER, NH - NOVEMBER 6: Voters cast their ballots at the Bishop Leo O'Neil Youth Center on November 6, 2012 in Manchester, New Hampshire. The swing state of New Hampshire is recognised to be a hotly contested battleground that offers 4 electoral votes, as recent polls predict that the race between U.S. President Barack Obama and Republican presidential candidate Mitt Romney remains tight. (Photo by Darren McCollester/Getty Images)

  • U.S. Citizens Head To The Polls To Vote In Presidential Election

    MANCHESTER, NH - NOVEMBER 6: Voters cast their ballots at the Bishop Leo O'Neil Youth Center on November 6, 2012 in Manchester, New Hampshire. The swing state of New Hampshire is recognised to be a hotly contested battleground that offers 4 electoral votes, as recent polls predict that the race between U.S. President Barack Obama and Republican presidential candidate Mitt Romney remains tight. (Photo by Darren McCollester/Getty Images)

  • U.S. Citizens Head To The Polls To Vote In Presidential Election

    MANCHESTER, NH - NOVEMBER 6: Voters cast their ballots at the Bishop Leo O'Neil Youth Center on November 6, 2012 in Manchester, New Hampshire. The swing state of New Hampshire is recognised to be a hotly contested battleground that offers 4 electoral votes, as recent polls predict that the race between U.S. President Barack Obama and Republican presidential candidate Mitt Romney remains tight. (Photo by Darren McCollester/Getty Images)

  • U.S. Citizens Head To The Polls To Vote In Presidential Election

    ALEXANDRIA, VA - NOVEMBER 06: People wait inside Washington Mill Elementary School to cast their vote in the U.S. presidential race, on November 6, 2012, in Alexandria, Virginia. Recent polls show that U.S. President Barack Obama and Republican presidential candidate Mitt Romney are in a tight race. (Photo by Patrick Smith/Getty Images)

  • U.S. Citizens Head To The Polls To Vote In Presidential Election

    MANCHESTER, NH - NOVEMBER 6: Tom Hoisington (R) raises his right hand along with grandson Tonykus Hebert, 6, after being registered to vote at the Bishop Leo O'Neil Youth Center on November 6, 2012 in Manchester, New Hampshire. The swing state of New Hampshire is recognised to be a hotly contested battleground that offers 4 electoral votes, as recent polls predict that the race between U.S. President Barack Obama and Republican presidential candidate Mitt Romney remains tight. (Photo by Darren McCollester/Getty Images)

  • US-VOTE-2012-ELECTION

    A poll worker (L) helps a voter (R) with her ballot in the US presidential election November 6, 2012 at a polling station in Chicago, Illinois. The final national polls showed an effective tie, with either US President Barack Obama or Republican challenger Mitt Romney favored by a single point in most surveys, reflecting the polarized politics of a deeply divided nation. AFP PHOTO / Robyn Beck (Photo credit should read ROBYN BECK/AFP/Getty Images)

  • US-VOTE-2012-ELECTION

    Citizens vote in the US presidential election November 6, 2012 at a polling station in Chicago, Illinois. The final national polls showed an effective tie, with either US President Barack Obama or Republican challenger Mitt Romney favored by a single point in most surveys, reflecting the polarized politics of a deeply divided nation. AFP PHOTO / Robyn Beck (Photo credit should read ROBYN BECK/AFP/Getty Images)

  • US-VOTE-2012-ELECTION DAY

    Voters wait outside the Metropolitan AME Church polling station to cast their ballots in Washington, DC on November 6, 2012. Americans headed to the polls Tuesday after a burst of last-minute campaigning by President Barack Obama and Mitt Romney in a nail-biting contest unlikely to heal a deeply polarized nation. AFP PHOTO/Mladen ANTONOV (Photo credit should read MLADEN ANTONOV/AFP/Getty Images)

  • US-VOTE-2012-ELECTION

    A voter prepares to cast her vote in the US presidential election November 6, 2012 at a polling station in Chicago, Illinois. The final national polls showed an effective tie, with either US President Barack Obama or Republican challenger Mitt Romney favored by a single point in most surveys, reflecting the polarized politics of a deeply divided nation. AFP PHOTO / Robyn Beck (Photo credit should read ROBYN BECK/AFP/Getty Images)

  • U.S. Citizens Head To The Polls To Vote In Presidential Election

    MANCHESTER, NH - NOVEMBER 6: Voters cast their ballots at the Bishop Leo O'Neil Youth Center on November 6, 2012 in Manchester, New Hampshire. The swing state of New Hampshire is recognised to be a hotly contested battleground that offers 4 electoral votes, as recent polls predict that the race between U.S. President Barack Obama and Republican presidential candidate Mitt Romney remains tight. (Photo by Darren McCollester/Getty Images)

  • US-VOTE-2012-ELECTION

    Citizens wait in line to vote in the US presidential election November 6, 2012 at a polling station in a senior appartment complex in Chicago, Illinois. The final national polls showed an effective tie, with either US President Barack Obama or Republican challenger Mitt Romney favored by a single point in most surveys, reflecting the polarized politics of a deeply divided nation. AFP PHOTO / Robyn Beck (Photo credit should read ROBYN BECK/AFP/Getty Images)

  • US-VOTE-2012-ELECTION-VOTERS

    A voter casts her ballot at one of five machines at the Stonewall Middle School November 6, 2012 in Manassas, Prince William County, Virginia. After a long and bitter White House campaign, Americans began casting their votes on Tuesday with polls showing President Barack Obama and Republican challenger Mitt Romney neck-and-neck in an election that will be decided in a handful of states. AFP PHOTO/Karen BLEIER (Photo credit should read KAREN BLEIER/AFP/Getty Images)

  • U.S. Citizens Head To The Polls To Vote In Presidential Election

    MANCHESTER, NH - NOVEMBER 6: Voters cast their ballots at the Bishop Leo O'Neil Youth Center on November 6, 2012 in Manchester, New Hampshire. The swing state of New Hampshire is recognised to be a hotly contested battleground that offers 4 electoral votes, as recent polls predict that the race between U.S. President Barack Obama and Republican presidential candidate Mitt Romney remains tight. (Photo by Darren McCollester/Getty Images)

  • US-VOTE-2012-ELECTION-VOTERS

    Voters cast their ballots at the Stonewall Middle School November 6, 2012 in Manassas, Prince William County, Virginia. After a long and bitter White House campaign, Americans began casting their votes on Tuesday with polls showing President Barack Obama and Republican challenger Mitt Romney neck-and-neck in an election that will be decided in a handful of states. AFP PHOTO/Karen BLEIER (Photo credit should read KAREN BLEIER/AFP/Getty Images)

  • US-VOTE-2012-ELECTION

    Citizens wait in line to vote in the US presidential election November 6, 2012 at a polling station in a senior appartment complex in Chicago, Illinois. The final national polls showed an effective tie, with either US President Barack Obama or Republican challenger Mitt Romney favored by a single point in most surveys, reflecting the polarized politics of a deeply divided nation. AFP PHOTO / Robyn Beck (Photo credit should read ROBYN BECK/AFP/Getty Images)