Cicero, NY -- A former North Syracuse school district substitute bus driver will spend three years in prison after admitting he repeatedly had sex with a 16-year-old girl in Cicero.

Joseph Sanfilippo, 46, pleaded guilty to six counts of statutory rape, a felony, and one count of endangering the welfare of a child, a misdemeanor.

Under the deal, County Court Judge Anthony Aloi promised to sentence Sanfilippo to three years in prison, covering all of the rapes. Sanfilippo is free on $2,500 bail until his sentencing June 25.

Sanfilippo rejected a proposal by the Onondaga County District Attorney's Office, which offered to let him plead guilty to only two of the rapes, but he'd have spent six years in prison -- three years for each rape.

Sanfilippo worked as a substitute bus driver until his arrest June 5, 2013. He was charged again in September by Fulton police with attempting to subject a victim under the age of 13 to oral sex. Those charges are still pending.

Some confusion arose in court today over the dates Sanfilippo had sex with the teenage girl in Cicero. It was determined that three of the rapes took place during the winter of 2012-13 and three during the spring of 2013.

He admitted to endangering the girl's welfare from December 2012 to June 2013.