TAUNTON, Mass. — A 13-year-old boy has been arrested in Massachusetts after police say he shot a 12-year-old following a dispute on Facebook.

Police say the shooting happened around noon Monday after the teen was confronted by a group of juveniles at his home in Taunton.

Taunton Police Lt. Paul Roderick says the teen retrieved a rifle registered to his mother from a locked safe and shot the 12-year-old in a nearby wooded area.

Roderick says the bullet went through the boy’s arm before becoming lodged in his rib cage. He is currently hospitalized in stable condition.

The teen has been charged with assault and battery with a dangerous weapon and discharging a weapon within 500 feet of a dwelling.