A previous version of this story incorrectly stated shots were fired at Brick Memorial High School. Shots were fired near the school. Patch sincerely regrets the error.

BRICK, NJ — A 16-year-old boy was taken to the hospital with a shoulder wound following a shooting near Brick Memorial High School on Tuesday, Brick Township police said. Brick police were called to the school at 1:47 p.m. after a school crossing guard reported shots fired in the vicinity of the school.

School Resource Officer Timothy McCarthy was at the school already, and police officers in the area responded immediately.

Both Brick Memorial and Lanes Mill Elementary School were locked down immediately, authorities said.

Police were told there was an injured 16-year-old boy bleeding from the arm in the school gym. Tactical medics responded and began treating him. He was taken to Ocean Medical Center. Investigators learned the teen had been shot about a quarter-mile from the school and ran into the school gym, authorities said.

"It's important for everyone to know this was not a school shooting," Prosecutor Bradley D. Billhimer said. "The response from law enforcement was swift and professional during a time of great concern."

Billhimer said investigators "will be interviewing witnesses and following leads well into the night."

"I'd like to commend the students, teachers and administration from all of the schools involved," Brick Police Chief James Riccio said. "Everyone from the bus drivers to the custodians were calm and cooperative." Riccio said investigators are looking into whether or not Tuesday's shooting is related to a drive-by shooting that happened Saturday outside a Briar Mills apartment.