PALM SHORES, Fla. — A Brevard County sheriff's deputy responding to a 911 call to a Palm Shores home early Wednesday shot a man who came out of the home and charged at the deputy while wielding a knife, Sheriff Wayne Ivey said in a Facebook post.

Ivey said a female caller told a Sheriff's Office dispatcher that a man in her home was putting her life in danger and "damaged" others in the house, so she had barricaded herself in an inside room to try to avoid the situation.

The first deputy to arrive at the home was able to get the woman out of the home safely, discussed with her what was happening inside the home and then tried to establish communication with the man inside. While the deputy was trying to make contact with the man, he came out of the home with a knife raised over his head and stepped toward the deputy, Ivey said.

He said the man's actions put the deputy's life in danger, so the deputy fired multiple rounds at the man.

The man took several more steps and then collapsed and then got back up and charged toward the deputy before collapsing to the ground again, Ivey said.

Other deputies and Melbourne police officers then arrived at the scene to try to help and began to provide aid to the man, who was eventually taken to a hospital, where he later died, Ivey said.

The deputy and the female resident of the home were not injured in the incident, Ivey said.

Neither the 911 caller nor the man who was shot have been identified.

Crime scene agents continue to investigate, the sheriff said.

This is a developing story.