Harvey Updyke, the University of Alabama football fan accused of poisoning oak trees on the Auburn University campus, pleaded guilty in court Friday and will serve six months in county jail.

After his release, Updyke will serve five years of probation. During that time, he will be banned from all Auburn University property and is forbidden from attending any collegiate sporting events for five years.

He must abide to a 7 p.m. curfew and will not be allowed to speak to the media, according to the plea agreement.

Updyke pleaded guilty to criminal damage of an agriculture facility, a felony.

He was sentenced to three years in jail, with all but six months suspended, according to the plea agreement filed in Elmore County Circuit Court at 4:25 p.m. Friday. He was also ordered to pay a $1,000 fine.

Prosecutors dropped two counts of first-degree criminal mischief, one count of damaging property at an agricultural facility and two counts of desecration of a venerated object in exchange for the guilty plea.