The star prosecution witness in the trial of convicted Texas financier R. Allen Stanford was sentenced Tuesday to five years in prison for helping to bilk investors out of more than $7 billion in one of the biggest Ponzi schemes in U.S. history.

James M. Davis had faced up to 30 years in prison after pleading guilty in 2009 to three fraud and conspiracy charges as part of an agreement with prosecutors.