OAKLAND — A clerk and two customers at a downtown market were shot during a robbery Thursday night but still were able to detain one of the suspects, at one point beating him with a dumbbell, police said.

The three shooting victims — the 30-year-old clerk and two brothers, ages 43 and 29, who had come to the store to buy cigarettes — were all in stable condition Friday at a hospital.

The captured suspect, 21-year-old James Morgan of Oakland, admitted to police Sgt. Mark Thomas and Officer Robert Trevino his part in the robbery-shooting, authorities said.

Morgan was arrested on multiple counts of robbery and assault with a firearm. He was questioned by investigators Friday morning after being treated at a hospital for injuries he suffered in the fight with the victims, police said.

The names of the victims were not immediately released by police.

The violent incident began about 9:30 p.m. at the Gourmet Market, 1549 Jackson St., a store in an apartment complex about a block from Lake Merritt.

The clerk and two customers were inside when two robbers, both holding guns, entered and demanded cash and wallets from the three victims, police said.

The 29-year-old brother hit Morgan in the face and was shot in the arm, police said. He and his brother continued to fight with Morgan, who then shot the brother in the chest and face while the other suspect shot the clerk in the neck, police said. The suspect who shot the clerk fled with an undetermined amount of cash.

Despite bleeding from their wounds, the two brothers continued to fight with Morgan and were able to get his gun away from him, police said. The struggle continued, and the clerk hit Morgan with a dumbbell before he was finally subdued and handcuffed by the clerk before police arrived, authorities said.

Police and Crime Stoppers of Oakland are offering up to $15,000 in reward money for information leading to the arrest of the suspect who fled. Anyone with information may call police at 510-238-3326 or Crime Stoppers at 510-777-8572 or 510-777-3211.