Buchli’s 2002 conviction for the murder of Richard Armitage was overturned because of discovery violations. As a new trial was pending, a judge ruled that prosecutors still had not complied with discovery obligations and threw out all of the evidence. Prosecutors dropped the charges last year.

Buchli’s reinstatement comes with some stipulations, according to the Kansas City Star.

He will be on probationary status for three years and must report to a probation monitor about any future criminal charges or convictions, and any civil suits or judgments against him. He will also have to work with a mentor to protect his client’s money and will have to report to the monitor on the status of his law practice. And he will have to submit to a mental health exam within 60 days.