SALT LAKE CITY — A federal judge imposed the maximum prison term on a Tooele man Thursday for taking sexually explicit photos of children as young as 1 year old.

Peter Joseph Muehe will spend 30 years behind bars after he pleaded guilty to one count of production of child pornography. Prosecutors dropped two other charges against him in exchange for the guilty plea. U.S. District Judge Ted Stewart issued the sentence Thursday.

Muehe, 42, admitted to taking photos of a 6-year-old child in May 2007 and a 1-year-old child in November 2007. Both children were relatives.

He was indicted in January 2009 after an investigation by the FBI, the Utah Internet Crimes Against Children Task Force and the Tooele police.