A juvenile was shot in the arm while he was playing with a gun with a friend on Friday night, Birmingham police said.

Authorities said the juvenile and an 18-year-old were playing with the firearm at a home located in the 4700 block of Second Avenue South. The gun accidentally went off and struck the juvenile in the arm.

Lt. Sean Edwards said the juvenile was taken to the hospital with non life-threatening injuries.