Rapper Young Thug pleaded guilty Thursday in Atlanta to gang, drug and gun charges and will be released from jail, though he could be put back behind bars if he violates the terms of his sentence.

The 33-year-old Grammy winning artist, whose given name is Jeffery Williams, entered his pleas without reaching a deal with prosecutors after negotiations between the two sides broke down, lead prosecutor Adriane Love said. That left the sentence completely up to Fulton County Superior Court Judge Paige Reese Whitaker.