An attorney for Kennedy cousin Michael Skakel said he expects to file a motion for bail later today after a Connecticut judge granted a new trial for Skakel, who was convicted in 2002 for murdering a female neighbor when he was a teen.
After years of unsuccessful appeals, Judge Thomas Bishop ruled Wednesday that Skakel's former attorney, Michael Sherman, didn't adequately represent him when he was convicted in the 1975 murder of Martha Moxley.
Skakel's current attorney, Hubert Santos, said he will file a motion today for bail and if granted, Skakel , 53, could then post bond and be released from prison.
"We're very, very thrilled," Santos said Wednesday. "I always felt that Michael was innocent."
Santos argued that Sherman failed to present crucial evidence and was too enamored with the media during the trial a decade ago.
Skakel, the nephew of Robert F. Kennedy's widow, Ethel Kennedy, is currently serving 20 years to life.
"[Sherman] was pre-occupied with the glitter and celebrity. He said to the bar association he was having fun on this case. A man's life was at stake," Robert F. Kennedy, Jr. told ABC News in defense of his cousin.
State's Attorney John Smriga says prosecutors will appeal the judge's decision.
"There is a distinct possibility that this week could be the last week that Michael Skakel does any jail time," defense attorney Mark Geragos, who is not affiliated with the case, told ABC News.
Martha Moxley, 15, was found beaten to death on Oct. 30, 1975 in Greenwich, Conn., with a golf club, later traced to a set owned by Skakel's late mother. No arrests were made in the Moxley murder case for 24 years until another Connecticut judge, acting as a one-man grand jury, completed an 18-month investigation and concluded there was enough evidence to arrest Skakel. On Jan. 19, 2000, Skakel surrendered to police.
Skakel, who was 15 at the time of the murder, maintains his innocence. He was denied parole last year and was told he would not be eligible again to be considered for release for five years.
In his ruling, the judge wrote that defense in such a case requires attention to detail, an energetic investigation and a coherent plan of defense.
"Trial counsel's failures in each of these areas of representation were significant and, ultimately, fatal to a constitutionally adequate defense," Bishop wrote. "As a consequence of trial counsel's failures as stated, the state procured a judgment of conviction that lacks reliability."
Moxley's brother, John, told The Associated Press the ruling took him and his family by surprise and they hope the state wins an appeal.
"Having been in the courtroom during the trial, there were a lot of things that Mickey Sherman did very cleverly," Moxley said about Skakel's trial lawyer. "But the evidence was against him. And when the evidence is against you, there's almost nothing you can do.
"I don't care if it was Perry Mason," Moxley added, alluding to the fictional lawyer portrayed in books and on TV. "The state had the evidence. It was his own words and deeds that led to the conviction."
The Associated Press contributed to this story.