CINCINNATI (AP) _ An 18-year-old pupil who said he put a capsule of LSD in the soft drink of a favorite teacher as a joke has agreed to a deal that would put him in jail for a year.

Jarod Maier admitted in court on Friday that he spiked the drink before class began on May 3 at Colerain High School. Sentencing will be in November.

``I did not think that amount of LSD would have this much effect,'' he said in a statement to police.

``I would never do anything to hurt him,'' he told police. ``I screwed up and I'm sorry.''

He pleaded guilty to one count of attempting to corrupt another with drugs. He could have received up to five years in prison.

Prosecutor Mike Allen said the original charge, corrupting another with drugs, could have carried a life sentence if the teacher had been seriously injured.

The teacher, Timothy Hicks, felt sick soon after drinking the soda but has not had lasting health problems.