PINELLAS COUNTY, Fla. (WFLA) — A man acting in an “erratic and paranoid” manner was shot early Wednesday morning as he broke into a Largo home, according to the Largo Police Department.

Authorities said 29-year-old Jeffrey Smith forced his way into the home of a Largo resident as they answered the door. Officers said Smith then entered the home acting in an “erratic and paranoid state,” scaring the homeowner as they ran outside to call for help.

As the victim tried to get the attention of neighbors, Smith followed behind and kicked the door of another home in an unsuccessful attempt to break in, authorities added.

“You have a stranger that is acting erratic not normal behavior, busting their way through the door to come into your home,” said Megan Santo with the Largo Police Department.

While the victim was seeking help at the home of a nearby neighbor, Smith approached the home “acting in a suspicious manner” before he ran up to the front door and entered after the victim and the neighbor retreated inside.

Police said Smith was shot during the incident and is currently receiving medical treatment for his wounds. Alcohol and/or narcotics appear to have played a factor in the incident, authorities added.

Smith was charged with two counts of burglary to an occupied dwelling. An investigation is ongoing.