Over many months in Cardiff Family Court I watched as a young woman, who we called "Bethan", brought a case to protect her young daughter.
Although her ex-husband had been convicted of the most serious child sex offences, and was banned from contact with other children, he retained parental responsibility over his own child.
That meant that he could have a say over her education, decisions about her health, and where she would live.
He could also in future have contact with his daughter. In fact, he told the court from prison via a videolink, he was already writing letters every week to the little girl. He wasn't allowed to send them.
At the end of the hearings, the judge granted the mother's application, removing the father's parental rights and barring him from all contact, including on social media, until the child turns 18.
The family were pleased - but it had cost them over £30,000 in legal fees.
Harriet Harman, who is now in the Lords but was then an MP, heard my report, and decided to try to change the law, to remove what she called this "glaring anomaly".
Her amendment meant that after a criminal conviction for serious child sex offences, a parent would automatically lose their parental responsibility.
Families like Bethan's would no longer need to go to the Family Court.
In April 2024 the Conservative Lord Chancellor Alex Chalk supported this change, saying his priority was to protect the best interests of children.
"This new law will ensure they are automatically safeguarded against those whose despicable actions have shown them to utterly lack any nurturing and caring instincts," he said at the time.
Bethan and her parents were delighted.