(CNN) -- A Texas father caught a man sexually assaulting his 4-year-old daughter and punched him in the head repeatedly, killing him, authorities said.
The father was casually acquainted with the alleged abuser, said Lavaca County Sheriff Micah Harmon.
Neither has been publicly identified.
The girl was left inside the family's house during the social gathering, while other members of her family were tending to horses, the sheriff said.
The alleged abuser was known for his horse-grooming abilities, Harmon said.
The father returned to the house, caught the man in the act, and stopped him by striking him in the head several times, Harmon said.
The man was pronounced dead on the scene, while the daughter was taken to a local hospital in Victoria, Texas, for examinations before being released.
The incident took place Saturday.
Harmon described the girl as "OK besides the obvious mental trauma."
Asked whether they would press charges against the father, the sheriff responded, "You have a right to defend your daughter. He acted in defense of his third person. Once the investigation is completed we will submit it to the district attorney who then submits it to the grand jury, who will decide if they will indict him."
Harmon described the dad as "very remorseful," adding that he didn't know the man was going to die.
Authorities were withholding the deceased man's name while they notified next of kin. Officials did not know immediately if he has a prior criminal history.