The San Diego Union-Tribune reports that former Cal State San Marcos business student Matthew Weaver, 22, has been sentenced to a year in prison for stealing 745 fellow students' passwords in order to cast votes for himself and his friends in a campus election in March 2012 (h/t Sophos).

Weaver apparently installed keyloggers on 19 school computers, which he used to steal passwords from 745 students. He then cast votes from more than 630 of those students' accounts.

He was caught when technicians noticed "odd activity" on a PC in a college computer lab, then monitored that computer via remote access. They called campus police, who found Weaver at the computer with keyloggers in his possession.

After he was caught, Weaver and a friend created fake Facebook pages using real students' names, and posted conversations claiming that those students had framed him for the crime.

Weaver pled guilty earlier this year to three federal charges, including wire fraud and unauthorized access to a computer. The school claims the clean-up from the security breach cost more than $40,000 -- a restitution hearing is planned for later this month.