From the New York Times:

The star Atlanta rapper admitted to six counts, including participating in criminal street gang activity, ending his role in the longest trial in Georgia history.