BARTOW – Rapper Kevin Gates will be returning to Illinois to face weapons charges.

The 31-year-old entertainer was about to be released from the Polk County Jail when the Cook County, Ill., felony warrant was found.

During a first appearance hearing at 1 p.m. Friday in the Polk County Courthouse, Gates waived extradition to Cook County.

To waive extradition means a defendant agrees to return to the jurisdiction w he faces charges without a court hearing to determine whether the transfer is justified.

Gates, whose real name is Kevin Jerome Gilyard, is wanted on a felony warrant charging him with a weapons offense, issued by the Cook County Sheriff’s Office.

Gates has a lengthy rap sheet that includes terms in prison and several gun charges from 2013 in Illinois, including aggravated unlawful use of a weapon, according to the Tampa Bay Times.

In October, Gates told the six-member County Court jury that he feared being pulled off the stage and he “Just kicked at the hands that were grabbing me.” He was performing in the Rumors Niteclub, off Memorial Boulevard in Lakeland, in front of a packed audience.