SAN MARINO (CBSLA.com) — A boy brought a stun gun designed to look like a smartphone to a school in San Marino, prompting a police investigation.

A parent reported last Saturday that a 12-year-old boy had shocked another child with a stun gun by the lunch tables near the basketball courts at Huntington Middle School, San Marino police said Thursday.

READ MORE: Biden To Announce COVID Testing Requirement For International Travelers, Insurance Reimbursement For At-Home Tests

The police investigation determined the stun gun was used in a joking manner, with no threatening intent, but possession of a stun gun by a minor is illegal, so the investigation soon shifted to determining where the child got the device.

READ MORE: Oprah On Shooting Death Of Jacqueline Avant: ‘Numbed And In Shock’

Officers say the boy bought the stun gun at the “As Seen On TV Products” store at the Westfield Santa Anita Shopping Center in Arcadia. The store owner confirmed she sold the device to the boy, but said she didn’t realize it was illegal to sell a stun gun to a minor.

MORE NEWS: Passengers Stranded After Fog Forces Several Flights To Divert To Ontario Airport

San Marino police officials say the investigation is ongoing, and appropriate charges, if any, will be determined after the case is reviewed by the Los Angeles County District Attorney’s Office.