HAYWARD — Veronica Martinez was lingering outside the big wooden doors of El Paraiso Club when clubgoers heard a gunshot early Saturday.

Martinez, a 22-year-old from Oakland, was shot once in the head, said Hayward Police Lt. Reid Lindblom.

She died late Sunday night after a weekend spent hanging by a thread in the Intensive Care Unit at Eden Medical Center in Castro Valley.

Martinez was, by police accounts, an unintended victim of the violence.

Lindblom said officers on Saturday evening arrested an Oakland man, Juan Sanchez, 28, who will be arraigned today on a murder charge.

Just before the shooting, Sanchez had been forced to leave the South Hayward nightclub because security guards thought he and his companions were acting “out of line,” Lindblom said.

“There was bad blood over being ejected,” Lindblom said. “He was definitely upset about being asked to leave.”

That’s when police believe Sanchez and at least one other man entered a red sports utility vehicle parked in the club’sparking lot off of Mission Boulevard.

Someone in the SUV — police said they believe it was Sanchez — fired his gun toward the club’s front entrance and then sped off down Mission Boulevard.

Martinez had “no association” with Sanchez, Lindblom said, apart from being at the popular Latin music club on the same night.

There were at least 150 clubgoers present when police arrived on scene just before 1 a.m. Saturday.

Many of them relayed crucial information about the suspects to investigators. Police tracked down the vehicle Saturday afternoon and set up surveillance on the 97000 block of Holly Street in the Elmhurst area of East Oakland.

Police surrounded the vehicle and arrested Sanchez about 4:30 p.m. in his home, not far from 98th Avenue. They also retrieved the gun used in the shooting, Lindblom said.

Sanchez is expected to be arraigned this afternoon at the Hayward Hall of Justice.

Owners of El Paraiso Club were unable to be reached for comment Sunday or Monday. Lindblom said there have been disturbances at the club in the recent past, but nothing so serious.

Not only was racial animus a likely factor when Charter Communications repeatedly rejected negotiations with Entertainment Studios, the TV programmer, but Charter's attempt to shield itself from allegations of bias using the First Amendment is also without merit, according to the U.S. Court of Appeals for the Ninth Circuit.