Gary Lee Gates, wanted in the shooting and wounding of David Fields in Garfield on July 3, turned himself in on Wednesday, his lawyer said.

Mr. Gates, 21, is charged with attempted homicide and other offenses in the shooting of Mr. Fields in the 200 block of Fern Street.

Police said Mr. Fields, who had his 4-year-old daughter with him, got out of a car and started punching Mr. Gates. Mr. Gates opened fire, striking Mr. Fields. He was treated at a local hospital.

Police said the two men had been arguing for a month over a relationship between Mr. Gates' brother and Mr. Field's cousin.