A friend of Boston Marathon bomber Dzhokhar Tsarnaev who was convicted of obstruction of justice faces "imminent removal" from the United States.

The Boston Globe reports that Dias Kadyrbayev, 24, who is a citizen of Kazakhstan was released from federal prison into federal immigration custody. He had been incarcerated in a federal prison in Spring, Texas until his release Wednesday, according to the Federal Bureau of Prisons database.

"Mr. Kadyrbayev remains in ICE custody pending his imminent removal from the United States to Kazakhstan," John Mohan, an ICE spokesman, told The Globe in a statement.

Kadyrbayev pleaded guilty in August 2014 to conspiracy and obstruction of justice charges after he went into Tsarnaev's dorm room at the University of Massachusetts Dartmouth after recognizing him in FBI photos shown on the news.

Kadyrbayev canvassed the room and took Tsarnaev's laptop and a backpack, which contained explosive powder from fireworks. He threw the backpack away, but authorities later found it.

Though prosecutors acknowledge that Kadyrbayev was not involved in the attacks on the April 2013 marathon nor did he know of Tsarnaev's plans, they say he could've down more to help police in the days that followed the Marathon attack.

Specifically, authorities said he may have been able to prevent the fatal shooting of MIT police Officer Sean Collier and the police shootout in Watertown.

In 2015, Kadyrbayev apologized to victims of the bombing at his sentencing hearing, according to the Globe.

"The person I was back then, I'm ashamed of that person," Kadyrbayev told the courtroom. "Now I know every decision has consequences, my decision has consequences as well . . . and I apologize for that....I regret it every day."

He was sentenced to six years in prison.

Kadyrbayev is the last of three of Tsarnaev's friends who were convicted for their roles in covering up for him to be released from prison. Tsarnaev was convicted in 2015 for his role in the Marathon bombings and was sentenced to death.