SCOTLANDVILLE, La. (AP) _ Shots rang out near a middle school Thursday and a 14-year-old girl was hit in the cheek by a boy who said he was aiming for someone he argued with earlier, police said.

A 14-year-old boy was charged with attempted murder for allegedly opening fire on a middle school in suburban Baton Rouge, said Lt. Darrell Oneal, spokesman for the East Baton Rouge Parish Sheriff's Office.

The teen and an alleged accomplice, also 14, were arrested hours after the shots were fired from a park 100 yards away from Scotlandville Middle School.

One .22-caliber bullet hit a 14-year-old female student in the cheek as she passed between buildings. She was treated at a hospital and released.

The alleged gunman told police he was not aiming for her but for a nearby male student whom he had argued with, Oneal said. Investigators said the teens told them the shooting was not related to Tuesday's deadly school rampage in Littleton, Colo.

Teachers ushered nearby students into classrooms when the gunfire began at noon, and kept them there until 2 p.m., school officials said. There was ``not great panic,'' school district spokesman Julie Madere said.