Former Hot Boys member was able to withdraw his guilty plea for his second degree attempted murder charge, stemming from a shootout with police during a raid in 2004.

According to Memphis newspaper Commercial Appeal, a Tennessee appeals court ruled Thursday (February 22) that the rapper (real name: Tab Virgil) could withdraw his guilty plea because he entered them not knowing and understanding what he was admitting to.

He is currently serving a 12-year sentence because of the pleas he entered two years ago. 27-year-old Turk entered an Alford plea, or best-interests plea, to a reduced charge of attempted second-degree murder in the shooting of sheriff’s SWAT team deputy Chris Harris, and to being a felon in possession of a handgun.

The paper reports that — at the time of his case — his attorney said he was arranging to have his client serve his sentence in federal prison, but the Federal Bureau of Prisons rejected his application.

Turk then attempted to withdraw his guilty pleas, arguing that he believed he would serve his time in the federal system, but his petition was denied without explanation.

The appeals court, however, said the petition should have been granted. He originally faced up to 25 years in prison if convicted of the original charge of first-degree attempted murder.

The rapper was charged with seriously wounding a sheriff’s narcotics officer in a shootout with officers raiding in a raid in 2004 at a Memphis, Tennessee apartment. The officer who was wounded suffered a shot in the jaw, thigh and calf.