A fish and chip shop delivery man in Clifton was a convicted sex offender who had a stash of child porn films and images of young boys at home, a court heard.
Andrew Moffatt had not informed police he was staying at another address apart from his flat or that there was a four-year-old boy living there.
Nothing untoward happened with the child, Nottingham Crown Court heard, but Moffatt, who was jailed in 2004 for indecently assaulting three children, between the ages of seven and 14 years, was required to inform officers of any change of address or contact with children.
As a lifelong registered sex offender, police found out Moffatt was regularly staying at the other address and there was a child under the age of 18 years.
When the child's mum found out about Moffatt's past she said: "I'm absolutely disgusted how he's taken my trust."
Last November, officers searched the flat Moffatt was registered to be living at in Clifton and found three items containing indecent images - a DVD and two films, each one-and-a-half hours long, of nude boys aged between ten and 12 years.
Moffatt, 36, whose last address was The Glen, in Clifton, had two A4-sized colour pictures printed out of naked boys aged between eight and ten years.
Judge Michael Stokes QC, who sentenced him to three years in prison on Thursday, said: "You must have known you were taking a tremendous risk and anyone knowing your background and were aware of what you were doing would have appreciated immediately you should have been where you were."
At court, he pleaded guilty to failing to register an additional address and was handed a 12-month prison sentence. Two years were added concurrently for not registering the address where there was a young boy was living.
Concurrent sentences, totalling 12 months, were imposed for making and possessing indecent photos of children, to run consecutively to the two years.
A Sexual Offences Prevention Order (SOPO) was imposed, banning any unsupervised contact with children, and his case has been referred to the barring agency to stop him working with children.
Moffatt said in police interview he bought the films online and thought they were legal.
His lawyer, Digby Johnson, said his client, who had casual employment delivering fish and chips in Clifton, had been a carer of his aunt in Top Valley but she passed away, as did two other relatives.
"He became lonely and more introverted and bought 30 DVDs from a site on the open web, not the dark web, and downloaded the pictures.