The Palm Beach County Sheriff's Office said a man cleaning his gun accidentally shot himself in the leg Wednesday morning in Royal Palm Beach.

RELATED:Download WPTV app | Follow us on Facebook

The shooting occurred at a home in the 10400 block of Oliver Lane at the Counterpoint Estates just after 6 a.m.

Palm Beach County Fire Rescue said the man was taken to the hospital by Trauma Hawk.

A neighbor said they heard screams when the shooting happened.

Chopper 5 flew over the scene at 6:45 a.m., and multiple PBSO vehicles and crime tape were posted outside the home.

UPDATE: PBSO says man was cleaning gun, crime scene unit just pulled up to house @WPTV@FOX29WFLXpic.twitter.com/vrTDIT7eir — Andrew Ruiz (@AndrewRuizWPTV) August 16, 2017