OAKLAND — A fistfight between two men Wednesday night in East Oakland turned into a three-on-one pummeling, which then led to a shooting and an arrest, police said.

The 28-year-old man who was shot was in critical condition at a hospital.

The violence happened around 8:38 p.m. Wednesday outside in the 2200 block of 35th Avenue. Police said a 39-year-old man who lives in the area had, for unknown reasons, gotten into a fistfight with the younger man, whom he did not know.

The older man was winning the altercation, police said, when three friends of his opponent intervened. The 39-year-old man was severely beaten.

The older man then went to his nearby home, got a handgun and returned to the site where the four other men were. He shot several times at the man with whom he had originally been fighting, wounding him once in the back, authorities said. No one else was hit by the gunfire.

After treatment for injuries he suffered when he was attacked by the three other men, the alleged shooter was booked at Santa Rita Jail on suspicion of attempted murder and was being held without bail.