EUGENE, Ore. (AP) — A former Eugene elementary school teacher who sexually abused a teenager has been sentenced to federal prison, according to the U.S. Attorney’s Office.

William Hamann, 38, was sentenced on Monday to 13 years in federal prison, ten years supervised release, and ordered to pay restitution to the victim, Acting U.S. Attorney for the District of Oregon Scott Erik Asphaug said.

Court documents say on several occasions starting in 2018 Hamann paid a minor female, who was 15 at the time, for oral sex and recorded her performing the sex acts.

Eugene police detectives and FBI agents arrested Hamann on July 26, 2019, when he came to meet the minor a fourth time.

Hamman used social media to arrange the meetings and had also previously approached other girls online who said they were minors, Asphaug said.

In August 2019, a federal grand jury in Eugene returned an indictment charging Hamann with sexual exploitation and trafficking of a child, possession of child pornography, and attempted sex trafficking of a child.

Hamann in January pleaded guilty to sex trafficking of a child.