OCEANSIDE - Police say a retired NYPD officer accidentally discharged his weapon inside a doctor's office in Oceanside Wednesday morning.

The incident happened at a podiatrist's office located at 3227 Long Beach Road.

According to police, the 77-year-old retired officer was inside Dr. Matthew Nester's office when he removed his licensed 10 mm semi-automatic pistol to show the male doctor.

The weapon accidentally discharged a round. It struck the owner in the thigh and continued through his leg, striking the doctor in the right foot.

Both victims were taken to a hospital for treatment of injuries that were not life-threatening.