Photo from media partner 10News.

Barry Minkow served time in prison years ago for masterminding a massive Ponzi scheme nearly three decades ago and then became a fraud investigator and then a pastor after getting out of prison.

On Monday, Minkow was headed back to prison after being sentenced to five years behind bars for defrauding a San Diego church and its congregation out of more than $3 million dollars.

Minkow, who's currently in custody following his conviction in Florida on unrelated securities fraud charges, pleaded guilty back in January to conspiracy to commit mail fraud, wire fraud and bank fraud for stealing from the San Diego Community Bible Church in San Diego.

From 2001 to about 2011, Minkow systematically defrauded both the institution of San Diego Community Bible Church and its congregation by opening fraudulent bank accounts in his name, not the church's name, and taking additional loans from existing loans that the Community Bible Church had, but also from "doing things as run-of-the-mill as effectively stealing money from the Sunday collection plate" according to Assistant U.S. Attorney Mark Pletcher.