A 15-year-old boy was grazed in the head by a bullet near Atlantic Terminal Mall in Brooklyn Wednesday, officials said.

The shooting occurred around 5:25 p.m., police say, and the victim has been transported to a local hospital where he is in stable condition.

Police say the shooting occured outside the mall and the boy then fled inside. He was the intended target, sources said.