A judge has agreed to release actor Timothy Busfield from jail in New Mexico, where he is facing child sex abuse charges.
Prosecutors allege the Emmy Award-winning actor, 68, inappropriately touched two boys on the set of a television series.
Busfield, who first appeared in court via a video link from jail last week on two counts of criminal sexual contact of a minor and one count of child abuse, has previously called the allegations against him "lies".
At a court hearing in Albuquerque on Tuesday, he appeared in handcuffs and dressed in an orange prison jumpsuit.
Busfield's lawyers successfully argued that the actor - best known for appearances in The West Wing, Field Of Dreams and Thirtysomething - was not a danger to the community and should not be behind bars while he awaits potential trial.
His wife, actor Melissa Gilbert, who played Laura Ingalls in the 1970s/80s TV series Little House On The Prairie, was in court for the hearing.
Prosecutors allege Busfield groomed and sexually abused the children.
Deputy District Attorney Savannah Brandenburg-Koch told the court the allegations against Busfield were "specific and not exaggerated". She also said witnesses expressed fear about potential retaliation and professional harm.
Busfield's lawyers suggested the parental claims were an act of revenge after producers decided to replace the children in the series.
Judge David Murphy said while the crimes Busfield is accused of inherently are dangerous and involve children, prosecutors did not prove the public would not be safe if he was released.
"There's no evidence of a pattern of criminal conduct, there are no similar allegations involving children in his past," he said.
"Rather, this defendant self-surrendered and submitted himself to this court's jurisdiction, demonstrating compliance with the court order for his arrest."
Outside the court building, Gilbert thanked the judge for the ruling.
Read more from Sky News:
Analysis: Brooklyn's bombshell claims
Harry's privacy case is 'threadbare'
Netflix's takeover battle for Warner Bros
Busfield became a household name as a White House reporter on The West Wing, which ran from 1999 to 2006, after making his name playing an advertising agency executive in the 1980s ABC ensemble series Thirtysomething.
In the 1989 film Field Of Dreams, he played the brother-in-law of Kevin Costner's lead character.
(c) Sky News 2026: Actor Timothy Busfield released from jail pending child abuse trial

Actors' union offered better deal over AI protections
Netflix boosts offer for Warner Bros Discovery
Why Prince Harry and six other household names are suing one of Britain's biggest media groups
Will Brooklyn regret launching a grenade at Brand Beckham?