KNOXVILLE, Tenn. -- The son of a Democratic Tennessee lawmaker was convicted Friday on two charges in the hacking of Sarah Palin's e-mail account while she campaigned on the Republican presidential ticket in 2008.

The federal jury reached its verdict against David Kernell, 22, after four days of deliberation. He was found guilty of obstruction of justice and unauthorized access to a computer, but was acquitted on a charge of wire fraud.

The jury deadlocked on a charge of identify theft, and prosecutors reserved the right to have a new trial on that charge.

The charge of obstructing an investigation carries a maximum 20-year prison sentence, while unauthorized access to a computer is a misdemeanor with a maximum one-year sentence.

U.S. District Judge Thomas Phillips did not set a sentencing date.

Kernell's defense attorney maintained that the hacking amounted to a college prank, not a crime. Kernell was a student at the University of Tennessee at the time. Prosecutors argued that it was a more serious effort to damage Palin's political campaign.

Knoxville Assistant U.S. Attorney Greg Weddle said prosecutors had not decided whether to try Kernell again on the identity theft charge.

Palin and her daughter Bristol testified about harassment and disruption they suffered after some e-mail was posted online showing personal cell phone numbers.

Palin posted a statement on her Facebook page saying that she and her family "are thankful that the jury thoroughly and carefully weighed the evidence and issued a just verdict."

"As Watergate taught us, we rightfully reject illegally breaking into candidates' private communications for political intrigue in an attempt to derail an election," the statement said.

Jurors were told by the judge not to speak to the media, and they declined comment as they left the courthouse. Kernell, his mother and defense attorney Wade Davies also declined comment.

Davies said in a statement released afterward that Kernell is doing well, appreciates the support of family and friends and is "grateful for the time and consideration the jury gave to his case."

Kernell's father, Democratic state Rep. Mike Kernell, was not available for comment.

Technical testimony recounted how investigators traced the break-in to Kernell, who never was accused of the harassing calls and texts.

Palin was the most anticipated witness, and she smiled through 30 minutes of testimony last week about how disruptive and hurtful the posting had been.