An Arkansas judge has confessed to leaking confidential information about Charlize Theron adopting her son months before she made an official announcement.
The Oscar winner adopted Jackson in early 2012 and managed to keep the news secret for several weeks.
She eventually confirmed the adoption in March 2012, two months after the news had been leaked on a Louisiana State University message board.
A poster using the name "geauxjudge" revealed the star was going through adoption proceedings and that she had turned up in court in a "long brown wig (and) oversized clothes" to "camouflage her appearance".
After an online report on Monday pointed the finger at Circuit Judge Mike Maggio, he has admitted being behind the leak.
"I take full responsibility for the comments that have been attributed to me," he said in a statement.
"I apologise deeply for my lapse in personal judgment and for that, I have no excuse. The comments posted were not acceptable. These comments are not a reflection of who I am."
Maggio has now ended his campaign for a seat on the Arkansas Court of Appeals.
The state's Judicial Discipline and Disability Commission director David Sachar has ordered an investigation.