Just when Kevin Gates thought he was getting out of jail, he got re-arrested.

TMZ is reporting the rapper was set to be released from jail today, but upon his release they found out that he had an outstanding weapons-related warrant. Thus, Gates was not released and put back in jail.

Gates was serving time for kicking a woman in the face from back in 2015. However, he was set to get out a month early, that until they found more warrants with his name on it.

There will be a hearing Friday and we'll keep you up to date on the happenings.

He was so close.

More From Hot 107.9