A former police community support officer (PCSO) was warned today that he is facing a lengthy custodial sentence after admitting child sex offences.
Gary Hastings, 48, of Wright Street, Hull, pleaded guilty at York Crown Court today to seven counts of sexual activity with two boys.
He denied causing or inciting child prostitution or pornography. Those charges were allowed to lie on file.
Judge Stephen Ashurst said Hastings's behaviour was "extremely grave" and a significant period in custody was inevitable.
The court was told the offences took place between November 2007 and August 2010.
A spokeswoman for Humberside Police said: "Gary Hastings was suspended in August 2011 following an investigation by the Humberside Police professional standards branch.
"He later tendered his resignation, which came into effect at the end of January 2012 and is therefore no longer an employee of Humberside Police.
"He commenced employment as a PCSO in North East Lincolnshire in March 2008 after undergoing standard vetting procedures for this role."
Hastings was remanded in custody and will be sentenced at York Crown Court on June 8.