The candidate for student body president who is now an inmate, after he was caught rigging his college election. He admitted stealing the identities of hundreds of fellow students and casting votes... See More
The candidate for student body president who is now an inmate, after he was caught rigging his college election. He admitted stealing the identities of hundreds of fellow students and casting votes for himself and his friends. Abc's abbie boudreau has the story. Reporter: From running for student body president to sitting behind bars. 22-year-old matthew weaver was a shoo-in for office. He voted for himself hundreds of times. On monday, the former cal state san marcos student was sentenced to one year in federal prison, after admitting to rigging his campus elections and pleading guilty to wire fraud. We charged it as a felony because when you've stolen the identities of over 700 people, i don't see how you can say that's a misdemeanor. Reporter: Authorities say weaver used a electronic device that records a computer user's key strokes to steal more than 700 student passwords. The story plays out like a scene from the movie "election, wrts where reese witherspoon's character will do about anything to win votes at her high school. I really must insist that you help me win the election tomorrow because I deserve it. Reporter: Weaver admitting to casting nearly 500 fake votes for himself and friends. There was a lot of vote coming from one i.P. Address. We don't record normally who votes for what. But we can say it came from here. Reporter: Overnight, weaver's attorney sat down with "gma." It was a childish prank that was treated like a federal crime. He knows what he did was wrong. And he's sorry for that. I believe that the federal government went a little far in actually pursuing felony charges against him. Reporter: A so-called college prank with real-life consequences.
This transcript has been automatically generated and may not be 100% accurate.