By CBS3 Staff

PHILADELPHIA (CBS) – A man opened fire inside of a SEPTA bus claiming he was being attacked by three teenage boys, police say. The shooting happened just after 1 a.m. on the No. 58 bus at Bustleton Avenue and St. Vincent Street in Oxford Circle.

Police say the teens, ages 17, 16 and 15, were shot in the legs and taken to the hospital in stable condition.

READ MORE: Ben Simmons Saga: Sixers Suspend Simmons 1 Game For 'Conduct Detrimental To The Team'

“Preliminary information is that 24-year-old male who was being physically attacked, did pull a handgun and fire at least three shots,” Philadelphia Police Chief Inspector Scott Small said.

READ MORE: Supply Chain Issues: 'There Really Are Problems Everywhere,' Even For Small Companies

Three other people on the bus and the driver were not hurt.

MORE NEWS: 17-Year-Old Killed, Another Injured In Browns Mills Shooting Outside Home

Police say the alleged shooter has a license to carry and is cooperating with investigators.