An 18-year-old Madison man was arrested Wednesday in connection with a shooting that injured a 17-year-old, according to a news release from Madison police.

Police said Johnnell L. Britt was with the gunman when a drug deal turned into a robbery. Detectives determined that Britt was inside a home on Dane Street in the town of Madison. Britt was found in a crawl space.

The teenager who was shot in the back on Aug. 18 had surgery and was in stable condition the next day, police said. He's expected to survive.

The Fitchburg Police Department said officers responded to the 2300 block of Post Road at about 1:45 p.m. on a report of a teenager who had been shot in the back.

Madison police said the teen was shot behind Leopold Elementary School, and the incident appeared to be drug-related.

Madison police spokesman Joel DeSpain said the victim was able to talk to police in the hospital, which led officers to a suspect.

A 14-year-old Madison boy was taken to the Juvenile Reception Center on suspicion of attempted first-degree intentional homicide.

"Typically we don't see someone this young firing a gun at another teen, and in this case we are looking at attempted first-degree homicide," DeSpain said. "Multiple bullets were fired. This victim was hit multiple times."

Police said the area where the shooting was reported is a "decent neighborhood," and responding to a report of a gunshot victim there is rare.

Fitchburg police originally said the victim was shot in Fitchburg, but said Monday that it was on Traceway Drive in Madison, and that the investigation would be handled jointly by Madison and Fitchburg.

Police asked anyone with information on the shooting to contact Madison Area Crimestoppers at 608-266-6014.