PLEASANTON -- A Livermore man was arrested Tuesday at the Alameda County Fair for slapping a show pig and pulling its ears and tail.

James Anthony Horn, 22, was arrested at 7:50 p.m. in the barn area by an Alameda County Sheriff's deputy after witnesses said Horn hit it with his hand on the head and buttocks and pulled the 6-month-old pig's ears and tail, according to court records.

Horn appeared briefly on Friday in Judge Hugh Walker's Alameda County Superior courtroom in Pleasanton on charges of public intoxication and animal cruelty. Walker released Horn on his own recognizance but ordered him to stay away from the Alameda County Fair, to not drink alcohol and to attend Alcoholics Anonymous meetings twice a week.

The sheriff's deputy wrote in his report he could smell alcohol on Horn's breath and Horn admitted to touching the pig but denied striking it.

However, the owner of the Yorkshire pig said she washed the pig and saw several slap hand prints on the pigs buttocks and back. Witnesses also told the sheriff's deputy that Horn was trying to get a reaction out of the pig.

Horn's blood alcohol level at the time of his arrest was .147, nearly twice the legal limit, according to court records.

Horn is due back in court at 9 a.m. on July 27.

Contact Robert Jordan at 925-847-2184. Follow him at Twitter.com/robjordan127.