A man was fatally wounded Wednesday afternoon when gunshots erupted outside a basketball game at Lincoln High School, sending the school into lockdown.

The shooting did not involve students or staff, said a spokesman for the School District of Philadelphia.

The 32-year-old victim, whose identity was not released, was shot twice in the right leg, police said. He was taken by private vehicle to Nazareth Hospital, where an occupant of the vehicle dragged him by the arms to a hospital wheelchair before driving away.

The victim was transferred by helicopter to Temple University Hospital, where he was pronounced dead at 8:40 p.m. Police did not report any possible motive.

The incident happened in the parking lot of the school on Ryan Avenue in the Northeast, with witnesses calling 911 at 3:15 p.m. to report a large fight and gunshots, according to preliminary information from police. Responding officers found several bullet casings on the ground.

The school was placed on lockdown at 3:55, police said. Lincoln's basketball team was playing Audenried High School when the shooting occurred. The lockdown was lifted at 5:30. The game was interrupted and did not resume.

"The Lincoln High School leadership called the Philadelphia Police Department immediately upon learning of gunfire. The school went into lockdown, which was lifted at 5:32 p.m. No students or staff were injured," said district spokesman Lee Whack in an email.

"School District police are fully cooperating with the Philadelphia Police Department as this matter is investigated. The safety of our students and staff is our top priority and as a precaution extra school police and Philadelphia police officers will be in place at the school tomorrow morning and during the day. In addition, communication was sent to families Wednesday evening about this incident and there will be additional communication to them on Thursday," Whack said.

Staff writer Robert Moran contributed to this article.