(CNN) Nearly 300 crocodiles were slaughtered in revenge killings by a mob in Indonesia over the weekend.

The incident happened shortly after the funeral of a man in his 40s who himself was killed by a crocodile in the Indonesian state of West Papua.

The man was on a crocodile farm, probably looking for grass to feed his livestock, when he was attacked by one of the animals Friday, according to a statement from the head of Indonesia's Natural Resources Conservation Agency in West Papua, Basar Manullang, Reuters reported

After he was buried Saturday, villagers stormed the farm and killed all the crocodiles there, Manullang said.

Images from the scene showed crowds surrounding piles of bloodied crocodiles.

Read More