The ex-treasurer of the Freehold Soccer League in Monmouth County is heading to prison for six years after stealing $400,000 from the organization, officials say.

Anthony Gallo took the money between 2012 and 2016, according to Monmouth County Prosecutor Christopher J. Gramiccioni.

In addition to the prison time, Gallo, 57, of Freehold Township, must pay $280,000 in restitution, Superior Court Judge Vincent N. Falcetano Jr. ordered at Gallo's sentencing Friday in Freehold.

Gallo pleaded guilty in November to second-degree theft.

Gramiccioni said the league president notified authorities when bills weren't paid and funds were found missing from league accounts.

Before he was caught, Gallo paid back more than $119,000 in an effort to try to prevent the thefts from being detected, according to Gramiccioni who said Gallo used the money for personal expenses.

Bill Gallo Jr. may be reached at bgallo@njadvancemedia.com. Follow Bill Gallo Jr. on Twitter @bgallojr. Find NJ.com on Facebook. Have a tip? Tell us. nj.com/tips