Two men who were wounded by gunfire on Hanover Street Monday night had been arrested on drug charges before.

Charleston police identified them Tuesday as Rickey Terell Gourdine, 27, of Read Street in North Charleston, and Graylin Leander Whaley, 28, of Meeting Street.

Gourdine pleaded guilty to possession with intent to distribute cocaine base in June 2011 and was given credit for time in jail and put on two years’ probation, according to Charleston County court records.

Whaley pleaded guilty to possession with intent to distribute cocaine base in March 2010 and was sentenced to two years, then pleaded guilty to the same charge in February 2012 and was sentenced to another two years, according to court records.

Charleston police were sent to Line Street shortly after 11 p.m. Monday to check out gunshots, according to the incident report.

One man was lying on the sidewalk in front of 65 Hanover St. with gunshot wounds to the left arm and left leg. Another man was lying on a porch at 70 Hanover with an apparent gunshot wound to the left ankle.

Both men were taken to Medical University Hospital.

Police found about six shell casings in the road in front of 59 Hanover and damage to a red Chevy Malibu parked nearby, according to the report.

Reach Dave Munday at 937-5553 or twitter.com/dmunday.