A freelance TV producer who was arrested at Salt Lake City International Airport after child pornography was found in his luggage is back behind bars.

On Monday, a federal magistrate judge found Kevin Stewart McMahan violated the conditions of his pretrial release and ordered McMahan to be taken into federal custody pending the outcome of his case.

Last June, McMahan pleaded not guilty to two counts of possessing child pornography after being arrested at the airport. McMahan was in Salt Lake City to cover the NBA playoffs for ESPN and ABC. He was arrested while trying to board a flight to California after police say they found hundreds of images of child pornography in his luggage, including some as young as 8 months old.

The images were discovered because airport security discovered a lighter that had been left in his carry-on luggage.

McMahan was ordered released from federal custody pending trial but with certain conditions. Among those conditions was restricted computer use.

In a hearing Monday, federal prosecutors alleged McMahan had accessed a computer. U.S. District Magistrate Judge Paul Warner found McMahan to be a danger to the community and ordered him detained.

Federal prosecutors would not say what it was McMahan accessed on a computer.