The ex-director of the Jared Foundation, established by former Subway pitchman Jared Fogle, is set to be sentenced Thursday on charges of child pornography and child sexual exploitation.

Reuters reports 44-year-old Russell Taylor agreed in September to plead guilty to child porn and exploitation charges, which he is expected to do before a U.S. District judge in Indiana.

Prosecutors allege Taylor used hidden cameras to produce child pornography at the encouragement of his boss, Fogle.

The judge will decide whether to honor the prosecution's request of 35 years in prison, followed by a lifetime supervised release, or to side with the defense, who are asking for a sentence between 15 and 23 years.

Taylor was the executive director of the Jared Foundation, a now defunct non-profit organization dedicated to preventing childhood obesity.

Fogle achieved nationwide fame after he lost 245 pounds on a diet involving Subway sandwiches. He was hired as the food chain's pitchman, often appearing in their commercials and advertisements.

Last month, Fogle was sentenced to over 15 years in federal prison, after a July raid of his Indianapolis home turned up massive amounts of child pornography. He was also accused of having sex with two underage teen girls in a New York City hotel.

According to NBC News, authorities became aware of Fogle's activites after a tip to Indiana State Police alerted them to Taylor's sexual interest in children.

Taylor admitted to recording footage of children, but claimed it began when a security camera captured a sexual encounter in his home office.

After that, Taylor claimed Fogle coerced him into placing the cameras in places where he would capture children undressing or bathing.

"Despite contentions made by Mr. Fogle, Mr. Fogle regularly requested additional videos of the minor children be made and even offered to provide Mr. Taylor with more sophisticated equipment to do so," the memorandum said.

Taylor also accused Fogle of psychological abuse, with Fogle calling himself Taylor's "daddy" and forcing him to eat gluten-based foods despite Taylor's intolerance.

The defense has argued that Taylor is remorseful for his actions and that the prosecution's requested sentence is far harsher than Fogle's sentence.