JEFFERSON COUNTY, Alabama -- A 14-year-old boy is recovering after he was accidentally shot Sunday by a friend with an AR-15 rifle in the Shannon community, according to the Jefferson County sheriff's office.

Deputies were called to the Shannon community in southwest Jefferson County around 3 p.m. They found the boy on the floor of a home with a gunshot wound to the neck, said Jefferson County Chief Deputy Randy Christian.

Deputies applied pressure to the wounds to slow the bleeding until paramedics arrived, Christian said.

The boy was able to tell deputies how he was shot. He gave this account to deputies:

His friend was walking down the hallway of the house with a weapon. He and the friend were looking at the gun, when the friend accidentally dropped it. They both tried to catch the falling gun, and it fired.

The friend's sister had found the gun while cleaning the home of their deceased grandparents.

The friend had removed the gun's magazine, and was going to put it away when the victim stopped him and asked him to look at it.

The teen was taken to UAB Hospital in Birmingham and is expected to survive injury.

The shooting was accidental and no charges will be filed, Christian said.