A man charged in connection with the shooting that left 13 people wounded at Cornell Square Park on the South Side three years ago has been sentenced to 63 months in prison.

Kewane Gatewood, 24, pleaded guilty Thursday to one felony count of aggravated discharge of a firearm, according to Cook County court records.

Thirteen people, including a 3-year-old boy, were wounded in the shooting that happened about 10:15 p.m. on Sept. 19, 2013 at Cornell Square Park near 51st and Wood streets, the Sun-Times reported at the time.

The shooting was revenge for a minor graze wound one of the men suffered several hours earlier in the 5200 block of South Paulina after a quarrel with gang rivals, prosecutors said.

Judge Kenneth Woods sentenced Gatewood to 63 months in prison Thursday, according to Cook County court records. He will receive credit for 1,009 days served in the Cook County Jail since his arrest.

Gatewood, who turned 24 on Sunday, was booked into Stateville Correctional Center Friday, according to the Illinois Department of Corrections.

Gatewood was one of seven people charged in the mass shooting. David Logan, 25, pleaded guilty to aggravated unlawful use of a weapon and obstruction of justice last year and was sentenced to two years in prison.

Five others — Bryon Champ, Darren Curtis, Brad Jett, Quinton M. Humphries and Tabari Young — are awaiting trial on attempted murder and aggravated battery charges in connection with the shooting, according to court records.