SAN JOSE — A man was killed in a close-range shooting right in front of a Wienerschnitzel south of downtown San Jose late Thursday night, according to police and witnesses.

Officers were patrolling the area near the fast-food eatery at Edwards Avenue and South First Street when they heard gunshots shortly after 10 p.m., Sgt. Enrique Garcia said. They arrived to find a man suffering from at least one gunshot wound.

The victim was rushed to a local hospital, where he died from his injuries. His identity was not immediately released pending notification of his next of kin.

Police did not immediately release suspect information or details of what led up to the shooting. But witnesses reported a very swift and violent encounter right in front of the service window of the restaurant.

Anthony, who asked that his last name be withheld for safety reasons, was driving into an adjacent parking lot with the aim of taking his kids to the Wienerschnitzel when he watched the shooting unfold.

“All of a sudden I hear gunshots and a flash. I saw him shoot the guy, then he ran around the corner,” he said. “The (victim) walked a little bit before he collapsed.”

Anthony said the victim was standing in front of the eatery and that the shooter opened fire from the nearby sidewalk, but described it as being “really close range.” Soon after, he said he got out of his car soon after to try and render aid to the wounded man, but that the injuries were too severe for him to help.

He added that the shooter may have gotten into a white four-door sedan and sped away from the scene.

Another witness, 30-year-old Jose Garcia was visiting his uncle at a nearby home when he heard gunshots.

“I was just chilling in the room and ‘boom, boom, boom,’ ” Jose Garcia said, adding that he heard between four and five shots.

“I was surprised that no one else got hit, it was really crazy,” Anthony said.

The shooting marked the city’s 12th homicide of the year. That tally includes a previously unreported shooting from April 30 in which the victim died from his injuries a week later on May 7.

In that earlier case, 24-year-old San Jose resident Hector Vincent Lozano was shot in the 1200 block of Locust Street near Highway 87 and Alma Avenue, police said. No suspects have been identified or arrested in that shooting, which was first made public by police Friday, nearly two weeks after Lozano’s death.

Anyone with information about Friday’s shooting can contact homicide Detective Todd Jennings or Detective Sgt. Jesus Mendoza at 408-277-5283. Information about the April 30 shooting can be directed to Detective Jason Tanner or Detective Sgt. Mike Montonye at the same phone number.

Tips can also be left with with Silicon Valley Crime Stoppers at 408-947-STOP or svcrimestoppers.org.