Jared Fogle Sentenced to 15 Years in Prison

He had pleaded guilty to two different federal charges.

Fogle had pleaded guilty to one count of traveling to engage in illicit sexual conduct with a minor and distribution and one count of receipt of child pornography.

Fogle, 38, was sentenced in federal court in Indianapolis.

Subway suspended its relationship with Fogle in early July after law enforcement agents raided his Zionsville, Indiana, home as part of what two sources briefed on the investigation told ABC News was an ongoing investigation into child pornography.

The officials told ABC News that the investigation was an offshoot of the May arrest of Russell Taylor, the then-executive director of Fogle's charity devoted to children's health.

ABC News' Dean Schabner contributed to this report.