A woman was arrested in connection with a gang-related shooting early Monday that wounded two men in a car parked outside a Novato supermarket, police said.

The victims, ages 23 and 24 and residents of Novato, were shot when a car drove up to their Toyota Corolla near the Safeway store in the Hamilton Marketplace Shopping Center on Nave Drive shortly before 12:15 a.m., said police Lt. John McCarthy.

The woman, whose name has not been released, was arrested later Monday after police found the shooter's car, investigators said. They did not say whether the woman was suspected of firing the shots.

The victims were taken to hospitals. Their names were not released, and their conditions were not disclosed.