CHICAGO (CBS) — After serving 26 years in prison for a double murder he claims did not commit, Jose Maysonet will now get a new trial. CBS2 investigator Pam Zekman previously reported on the case that involved alleged police misconduct and legal malpractice.

Maysonet’s new shot at possible freedom came after the Cook County States Attorneys’ office agreed at a hearing Wednesday that Attorney Richard Beuke had a conflict of interest when he represented Maysonet at his 1995 trial.

READ MORE: Police Officer Shot; 15-Year-Old Wounded, 1 Killed In South Shore

“At the same time he represented my client he represented the lead detective against my client. The state’s lead witness,” said Jennifer Bonjean, Maysonet’s current attorney.

She alleges that Detective Reynaldo Guevara and Beuke were friends and that Beuke even represented Guevara in a child support case. As we reported, Maysonet had no idea about Beuke’s relationship with Guevara at the time he handled his case.

So how did Maysonet wind up hiring Bueke?

READ MORE: As Jury Deliberates In R. Kelly Sex Trafficking Case, What Impact Will Verdict Have On His Future Trials In Chicago?

“He came out of nowhere,” Maysonet said. “He promised me I could beat this without even seeing the case yet.”

He used a number of methods to frame people,” said Bonjean. “He used manipulation, coercion, threats.”

Maysonet says he falsely confessed after Guevara repeatedly beat him with a phone book and flashlight.

“You know I thought I was going to get killed,” said Maysonet.

MORE NEWS: Cook County Circuit Court Website Back Online, After Weeks-Long Outage Caused By Breach

Guevara, who is now retired, and Beuke have not returned calls from CBS 2.