A state appeals court has ruled that a Long Island father used reasonable force when he spanked his 8-year-old son for cursing at an adult.

Newsday says the state Appellate Division dismissed a child neglect proceeding against the man last week.

The father had used the disciplinary action in October 2012 during a party at a friend's house.

The Suffolk County social service department alleged he used an open hand and a belt on the boy's buttocks, legs and arms after they got home. A county family court found him in neglect.

But the appellate division said under the circumstances the spanking "did not constitute excessive corporal punishment." It said there was insufficient evidence to prove he hit his son with a belt.