Toying with his new gun early Sunday outside his Riviera Beach home, Michael Felipe aimed it at a friend and pulled the trigger.

To Felipe’s surprise, a bullet fired into the teenager’s arm. The 23-year-old insisted to city police that he had no idea the gun was loaded.

The 17-year-old, too, told police the shooting shortly before 1:30 a.m. Sunday outside Felipe’s home on East 27th Street seemed to be a complete accident.

Have you seen them? Wanted fugitives in Palm Beach County

But no one called police as blood streamed from the teen’s right forearm. Instead, Felipe loaded the teen into Roynell Walters’ blue Nissan Maxima. Felipe handed Walters the gun, who in turn stowed it in the center console.

Felipe told police he was afraid of getting into trouble.

Meanwhile, police fielded reports of shots fired on East 27th, northeast of the intersection of Blue Heron Boulevard and Broadway. When they arrived, though, neighbors denied hearing anything.

Authorities later received word from St. Mary’s Medical Center in West Palm Beach that a teen had been accidentally shot in that neighborhood.

When police returned they found bullet fragments and casings in Walters’ pants pocket. They searched his car and found the gun that fired into the teen’s arm, as well as a loaded firearm that had been reported stolen out of Broward County in July 2015.

See who’s been booked into the Palm Beach County Jail

The 25-year-old West Palm Beach man was arrested on theft and evidence tampering charges. He was released Sunday afternoon from the Palm Beach County Jail on a $6,000 surety bond.

Felipe faces aggravated battery with a deadly weapon and evidence tampering charges. Her was released late Monday on a $15,000 surety bond.

Jail records indicate Sunday’s arrests were the first in Palm Beach County for both Felipe and Walters.