OAKLAND — A 25-year-old man was arrested Sunday on suspicion of accidentally shooting his cousin in West Oakland, authorities said.

After the shooting, the suspect started driving his wounded cousin, who is 26, to a hospital but stopped at a gas station in the 5100 block of Shattuck Avenue where police were called, authorities said. After being treated there, the wounded man was taken to a hospital where he was in stable condition.

Police said the shooting happened shortly after 10 a.m. Sunday in a residence in the 900 block of Poplar Street. It was not clear if the two cousins lived there or were visiting someone.

Authorities later determined the younger cousin was apparently playing with a pistol when it went off, the bullet wounding the other man in the lower body.

Police recovered the gun at the residence.

The suspect was arrested on suspicion of assault with a firearm.

Check back for updates.