A Charleston man said he was shot in the thigh early Thursday while walking near Hester Park.

The 22-year-old victim told Charleston police he was walking along Hester Street to his grandfather's house about 12:30 a.m. when someone appeared from behind a tree and fired three shots at him, according to an incident report.

The victim said he ran about two blocks before he realized he had been shot once in his lower left thigh. He told police he flagged down a car and was helped inside by a passenger inside the car. The driver of the car dropped him off at Medical University Hospital, the incident report states.

The shooting is under investigation.