WHEATON, Ill. (AP) — A Roman Catholic priest convicted of stealing his parish’s money to support a gambling addiction has been given more time to pay back the money.

The Rev. John Regan had been scheduled for the probation revocation hearing in April because he has yet to repay the nearly $300,000 he stole from St. Walter Catholic Church in Roselle. He served there as the pastor until 2009.

Regan’s attorney, Jack Donahue, told Judge John Kinsella during a DuPage County Circuit Court hearing that he met with prosecutors last week and they agreed to cancel the hearing. In return, Regan will have a final reporting date in 2019.

At his sentencing in 2011, Regan said he had struggled with a gambling addiction. He is currently assigned to a parish in the Joliet diocese.