(CNN) -- Authorities on Sunday were investigating a shooting outside a neighborhood bar and grocery store in northern Puerto Rico, which killed seven people and wounded at least 25 others.
"We can't be certain that this was drug related, but the way it played out appears that it was," prosecutor Wanda Vazquez said.
Vazquez said the shooting may be the result of a turf war between rival gangs.
Among the wounded are a 9-year-old girl and a pregnant woman who lost her 8-month-old fetus when she was shot, Vazquez said.
Gunmen opened fire at about midnight outside the establishments in Toa Baja, a neighborhood west of San Juan that is heavily patrolled by police, Vazquez said.
Video from the scene showed the front door of the bar riddled with bullet holes.
The Caribbean island is a U.S. territory
CNN's Nick Valencia contributed to this report.
All About Puerto Rico