A Sandiacre pensioner has been told he may die in prison after being caught sexually abusing a girl.
Cancer sufferer Clive Oliver, 71, was given a three-year jail term when he appeared at Nottingham Crown Court.
Judge Stuart Rafferty QC imposed the prison term and told him: "Children under the age of 13 are sacrosanct."
In 2017, a 32-month sentence was handed to Oliver, of Woodside Road, Sandiacre. He was freed halfway through the term.
Later the second offence came to light when the NSPCC went to the victim's school and spoke of child abuse.
Oliver pleaded guilty to sexual assault.
The judge told him: "You may die in prison. That, I am afraid, is a risk people who commit offences of this kind take.
"It gives me no satisfaction at all. That is not my business. My business is passing the appropriate sentence for what happened.
"It is difficult to contemplate the end of a life facing certain death with a weight of guilt on your shoulders. I hope you find some sort of resolution before it is too late."
He said that Oliver had delayed the investigation by suggesting ways in which the abuse was accidental.
The judge said the girl needlessly felt guilty and had been badly affected by the abuse.
"The damage is something none of us can calibrate. It may be a lifetime, I hope not," the judge added.
Jon Fountain, prosecuting, said the second offence came to light as the result of the NSPCC campaign "Speak Up, Stay Safe."
Officials visited primary schools to give children "the courage to speak out."
Mr Fountain added: "It did give her courage."
Mark Watson, mitigating, told the court: "He has prostate cancer which appears to be aggressive.
"He has been given various timelines but it is terminal. Eighteen months ago, he was told that he had four years.
"A new doctor is trying a different regime and it is unknown.
"These are factors which mean either he will be released for a short period of time before the cancer takes its final grip or he will not get that far."