COOS BAY, Ore. (AP) — A longtime Coos Bay police officer has been indicted and arrested on child sexual abuse charges.

According to court records, Terry Scott Rogers, 51, was arrested Friday on 18 felony charges and two misdemeanor charges, The World reported. The indictment alleges Rogers started abusing a child in 2012 when the child was younger than 12 and that it continued for six years.

Rogers was indicted on two counts of first-degree unlawful sexual penetration, three counts of second-degree unlawful sexual penetration, eight counts of first-degree sex abuse, five counts of luring a minor and two charges of third-degree sex abuse.

According to the records, a Coos County grand jury voted to indict Rogers last week.

In a defendant’s memorandum in support of release, Rogers’ attorneys argued his law enforcement background and his time in Coos Bay is proof he can be released on his own recognizance while awaiting trial.

Court records show Rogers posted a $50,000 security and is out of jail custody.

According to the memorandum, Rogers has been a police officer with the Coos Bay Police Department for 22 years and is currently on administrative leave.

Coos Bay Police Chief Chris Chapanar confirmed the investigation, telling KPIC-TV the Oregon Department of Justice is handling the case.