A Los Angeles police officer accidentally shot a 15-year-old in the back after spotting another teen pointing what appeared to be a handgun at the boy.

Two officers spotted a group of teens in an alley about 7:45 a.m. Tuesday, police said, and one teen appeared to be aiming a gun at another boy in the gathering, reported the Los Angeles Times.

Officers ordered the boy several times to drop the weapon, police said, and then one of the officers opened fire.

ADVERTISEMENT

The boy holding the weapon – which turned out to be a replica firearm – was not hit, but the other boy was shot once in the back.

The wounded teen was treated and released from an area hospital.

Police detained everyone at the scene and determined they were all friends, and they said “no animus” was involved.

No arrests were made, but the teen who had the toy gun could be charged with brandishing a replica weapon in the presence of a police officer.

Both officers, who have not yet been identified, were placed on administrative duty pending an initial review of the incident.