Dias Kadyrbayev, a friend of accused Boston Marathon bomber Dzhokhar Tsarnaev, pleaded guilty to obstruction of justice and conspiracy charges Thursday.

Legal analyst Tom Hoopes weighed in on the hearing. He said the outcome of the Azamat Tazhayakov’s trial likely influenced Kadyrbayev’s plea.

“I think probably if they tried this case, exactly the same thing was likely to happen, at least that’s what the defendant and his lawyer thought. The prosecution was going to call all kinds of witnesses and this defendant wasn’t going to have anybody to call, and in this environment, the jury was probably going to find him guilty, and as a result of all that, he was going to do a longer sentence,” he said.

Join our Newsletter for the latest news right to your inbox